News for hackers. Stuff that matters.
Re:A bug in GCC that may cause memory leaks in valid C++ pro... by wfunction on Friday April 28, 2017 @03:08AM (#14217455)
Like I said:

> That's definitely not "immediately destroyed", there's operator<< being called between construction and destruction.

Re:A bug in GCC that may cause memory leaks in valid C++ pro... by yorwba on Friday April 28, 2017 @07:39AM (#14218589)
The point is that you have the option of using operator<<, but if you don't exercise that option, the temporary object is destroyed immediately.