Definitions
from Wiktionary, Creative Commons Attribution/Share-Alike License.
- noun computing, programming "Resource acquisition is initialization", a popular
design pattern inobject-oriented programming that tiesresources to thelifespan of associatedobjects to prevent resourceleakage .
Etymologies
Sorry, no etymologies found.
Support
Help support Wordnik (and make this page ad-free) by adopting the word RAII.
Examples
-
I just downloaded some illegal MP3s and my friend told me that the RAII is going to sue everyone who downloads music.
Boing Boing: September 14, 2003 - September 20, 2003 Archives 2003
-
• Experience with modern C++ techniques, including templates and RAII.
-
In situations like this, C++ fans can't wait to tell you about RAII.
-
This C code is a close representation of what a C++ compiler has to emit when RAII is used but as before there are no residual types left. int foo (void)
-
If we decided to add exception handling (through e.g. setjmp or SEH exceptions), we only have to touch unwind-protect to enable exception cleanup in all our RAII-like resource macros.
-
• Experience with modern C++ techniques, including templates and RAII.
-
About point 7: RAII in C++ was and still is a very clever concept.
Java News, Java Updates, Java Articles, Java Help - javacrawl.com 2010
-
• Experience with modern C++ techniques, including templates and RAII.
-
I found myself enjoying using blocks as it tidied up a lot of my code and in ways followed my new found favorite paradigm, RAII.
MSDN Blogs zbrown 2010
-
• Experience with modern C++ techniques, including templates and RAII.
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.