RAII without exceptions—Eli Bendersky

Save to:
Instapaper Pocket Readability

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

You must sign in or register to add a comment.

Comments (0)

There are currently no comments on this entry.