News for hackers. Stuff that matters.
Re:Help me sort out the meaning of “{}” as a constructor arg... by clappski on Tuesday November 22, 2016 @03:16PM (#13017270)
You can do the same thing in C++, either by intercepting signals on Linux, or setting up a structured exception handler on Windows. It's useful when you either A) want to attempt a recovery or B) have a complex tear down.
Re:Help me sort out the meaning of “{}” as a constructor arg... by sqeaky on Wednesday November 23, 2016 @11:51AM (#13023843)
But in C++ you are specifying a signal handler, not overloading a string conversion function.

Imagine your surprise when you discover via dmesg that your have generates hundreds of segfault per second but a string conversion functions hid this bug.