https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950
Martin Sebor changed:
What|Removed |Added
Keywords||rejects-valid
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950
Paolo Carlini paolo.carlini at oracle dot com changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59950
--- Comment #1 from Richard Smith richard-gccbugzilla at metafoo dot co.uk ---
Additional clarification was requested: Foo() = Foo() means
Foo().operator=(Foo()). The 'operator=' has return type 'Foo', thus that
expression is not a temporary.