Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by rsfinn on Thursday April 27, 2017 @08:51PM
(#14216100)
If you're curious (as I was), this bug does not occur in clang, as you can demonstrate for yourself by following the link to wandbox.org in the original story and changing the compiler.
[ Parent
| on HN ]
Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by isaac_is_goat on Friday April 28, 2017 @01:22AM
(#14217031)
I tested it with Visual Studio 2017 and it seems to work correctly there as well.