Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> (to be fair RAII wasn't a thing in 'normal' C++ at the time either)

RAII in C++ dates back to 1984-1989, and Strousop wrote about it in his 1994 book Design and Evolution of C++. And C++98 had auto_ptr<>. Symbian's release in 1997 means it had a weird timing relationship with C++ standardization, but RAII was still enough of a thing at the time to be in that very first standardized STL release.



Turbo Vision, OWL and MFC also made liberal use of RAII.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: