4 ms·
No no no. Always throw by value, and catch by reference. Like this: throw BathwaterException(Baby()); Wait, we are talking about C++ programming, right? ;)
by jcarreiro 15y ago
No no no. Always throw by value, and catch by reference. Like this:
throw BathwaterException(Baby());
Wait, we are talking about C++ programming, right? ;)