Vicente Botet Escriba wrote:
IMO exceptions and RAII are orthogonal. The destructor will be called even
if exceptions are not allowed.
How do you fail to construct something without exceptions?
Oh yeah, two-phase initialization. That's not really RAII.