------- Comment #11 from dherring at tentpost dot com 2010-09-16 18:54 ------- FWIW, the example given in the C++ draft spec, section 9.5, fails to compile in g++, even under version 4.5 with the -std=c++0x flag. (This example has been there for a few years.)
Coupled with requirements such as operator= must be a nonstatic member function, this restriction is a real annoyance. -- dherring at tentpost dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dherring at tentpost dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39934