On Friday, 26 September 2014 at 10:01:32 UTC, Ola Fosheim Grøstad wrote:
On Friday, 26 September 2014 at 09:41:09 UTC, Paulo Pinto wrote:
This is completely not true, we were using RAII in C++ before any compiler had real support for exceptions.

Well, I haven't read the 1990 edition of the annotated C++ reference by Stroustrup and Ellis since the mid 90s so my memory may be clouded, but that is how I remember it.

And wikipedia says the same:

«The technique was developed for exception-safe resource management in C++[3] during 1984–89»

http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization

I don't care what Wikipedia says, I was there in the early C++ days happily using Turbo and Borland C++ in MS-DOS.

--
Paulo

Reply via email to