This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42824] c++ compilation complains about error: call of overloaded
- From: "mario-baumann at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jan 2010 08:24:26 -0000
- Subject: [Bug c++/42824] c++ compilation complains about error: call of overloaded
- References: <bug-42824-17177@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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