when was RAII added to C++

Posted by Magnus on Stack Overflow See other posts from Stack Overflow or by Magnus
Published on 2013-11-01T03:49:42Z Indexed on 2013/11/01 3:53 UTC
Read the original article Hit count: 103

Filed under:
|

I recently learned about the wonderful memory management technique of RAII, which seems so much cleaner than the new/delete headache I learned in school years ago (I haven't looked at much C++ during the intervening years).

I'm trying to track down when this great technique was added to C++. Was it always there and I just missed the memo? What's the oldest version of the C++ standard which supports RAII?

© Stack Overflow or respective owner

Related posts about c++

Related posts about raii