[Bug c++/55576] Fails to compile a call to template member function

d.frey at gmx dot de gcc-bugzilla@gcc.gnu.org
Mon Feb 25 16:20:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55576

Daniel Frey <d.frey at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d.frey at gmx dot de

--- Comment #13 from Daniel Frey <d.frey at gmx dot de> 2013-02-25 16:20:20 UTC ---
Since it wasn't pointed out explicitly: The behaviour should depend on the
presence or absence of -std=c++0x/c++11/gnu++0x/gnu++11. The OPs example wasn't
compiled without any of these options, so it should be an error and GCC is
correct. With C++11 enabled, GCC's behaviour should be changed.



More information about the Gcc-bugs mailing list