|
|
|
|
|
by ginko
1748 days ago
|
|
In my company we do so by disallowing constructors to fail. If an object needs to be initialized with the potential of failure you need to call an init() function that returns an error code after construction. Yes, that makes RAII basically impossible. |
|