[Bug c++/53821] [4.7.2,4.8 regression][c++11] multiple definitions of lambda

vincenzo.innocente at cern dot ch gcc-bugzilla@gcc.gnu.org
Sat Jun 30 15:33:00 GMT 2012


--- Comment #1 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2012-06-30 15:33:15 UTC ---
to clarify: 
in compiles and links correctly provided that
template<typename T> 
int Foo<T>::bar(int i, int j)

or if instead of the lambda "bar" invokes the external "ebar"

More information about the Gcc-bugs mailing list