RAII

Hello, you have come here looking for the meaning of the word RAII. In DICTIOUS you will not only get to know all the dictionary meanings for the word RAII, but we will also tell you about its etymology, its characteristics and you will know how to say RAII in singular and plural. Everything you need to know about the word RAII you have here. The definition of the word RAII will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofRAII, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

Etymology

Coined by Bjarne Stroustrup.

Noun

RAII (uncountable)

  1. (programming) Initialism of 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.)
    • 2019, Fedor G. Pikus, Hands-On Design Patterns with C++, page 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

  • CADRe (Constructor Acquires, Destructor Releases)
  • SBRM (Scope-based Resource Management)

References

Anagrams