Resource acquisition is initialization (RAII)

Resource acquisition is initialization

RAII is a programming idiom used in several object-oriented languages to ensure resources are acquired and released during object creation and destruction, respectively. It was developed for exception-safe resource management in C++ and is also used in D, Ada, Vala, and Rust. It is commonly referred to as "R, A, double I" and other names include CADRe and SBRM.

1 courses cover this concept

CS 106L Standard C++ Programming

Stanford University

Winter 2023

This is a companion course to CS106B/CS106X, diving into the modern C++ language. It covers some of the most exciting features of C++, including modern patterns that give it beauty and power. It is an intermediate-level course assuming familiarity with basic programming concepts.

No concepts data

+ 23 more concepts