Click here to Skip to main content
15,894,122 members
Articles / Programming Languages / C++

Automatic resource cleanup - a lightweight scope guard implementation

Rate me:
Please Sign up or sign in to vote.
4.93/5 (10 votes)
26 Apr 20077 min read 47.1K   321   30  
An article on automatic resource cleanup for exception safe code, presenting a lightweight scope guard implementation

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Austria Austria
I've always been a computer freak. In my childhood I enjoyed gaming on the C64 and Amiga500, later I started programming in various programming languages.

My technological passions at the moment include c++, xml/xslt and angular js.

For a living I work as a senior software developer.

Comments and Discussions