[Bug c++/60297] Temporary lifetime not extended by reference bound to POD member

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 21 05:33:00 GMT 2014


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

--- Comment #1 from David Krauss <potswa at mac dot com> ---
Woops, I neglected to check a POD class type. Removing the destructor from
"notpod" has no effect. The condition seems to apply to all scalar types
instead.



More information about the Gcc-bugs mailing list