411 REFERENCE · Wiktionary
RAII
Reference material by Wiktionary contributors. This retains its source identity and is not 411 news reporting.
English
Etymology
Coined by Bjarne Stroustrup.
Noun
-
en programming en Resource Acquisition Is Initialization a popular design pattern in object-oriented programming that ties resources to the lifespan of associated objects to prevent resource leakage.
en 2019 Fedor G. Pikus Hands-On Design Patterns with C++ 469 With RAII, the closing action cannot be skipped or bypassed, even if the function exits the scope prematurely with an early return or by throwing an exception.
Synonyms
en CADRe Constructor Acquires, Destructor Releases
en SBRM Scope-based Resource Management
References
Resource acquisition is initialization
Anagrams
en aiir AIIR Airi