Is RAII in C++ only possible with exceptions? Eli Bendersky clarifies the matter:
C++: RAII without exceptions
by Eli Bendersky
From the article:
this post is not about whether exceptions are good or bad. What it is about is RAII as a C++ dynamic resource management technique that stands on its own and is useful with or without exceptions. In particular, I want to explain why RAII is indeed useful even if you have exceptions disabled in your C++ code...
Add a Comment
Comments are closed.