------- Comment #8 from mario-baumann at web dot de 2010-01-25 08:24 ------- Hi Jonathan, thanks for the hint!
I attached a version (goo.cpp) without boost. > g++ -c goo.cpp goo.cpp: In member function 'void Eval<T>::eval(int_<0>) [with int V = 0, T = Mtrl]': goo.cpp:42:9: instantiated from 'void Eval<T>::eval() [with int V = 0, T = Mtrl]' goo.cpp:65:20: instantiated from here goo.cpp:57:9: error: call of overloaded 'value(Eval<Mtrl>::Wrap<Quan<0> >)' is ambiguous goo.cpp:49:10: note: candidates are: void Eval<T>::value(Eval<T>::Wrap<Quan<V2> >) [with int V = 0, int V2 = 0, T = Mtrl] goo.cpp:52:10: note: void Eval<T>::value(Eval<T>::Wrap<Quan<0> >) [with int V = 0, T = Mtrl] -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42824