3 ms·
This is one reason many people think exceptions in C++ are harmful, they cause unclear implicit behavior. Much better to handle a failure explicitly outside the
by opportune 4y ago
This is one reason many people think exceptions in C++ are harmful, they cause unclear implicit behavior. Much better to handle a failure explicitly outside the constructor
- benibela 4y agoThis is one reason I use Pascal If the constructor throws an exception, the destructor is called immediately.