[Bug c++/70551] member function of template instantiated even though only declaration is needed

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 5 17:05:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70551

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your interpretation would mean that whether a compiler performs copy elision
would change whether a program is well-formed or not (rather than only changing
whether any side effects of the constructor call happen). That is not a
reasonable interpretation IMHO.


More information about the Gcc-bugs mailing list