Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 1.06 KB

CppRaii.md

File metadata and controls

15 lines (10 loc) · 1.06 KB

The Resource Acquisition Is Initialization (abbreviated to 'RAII') is a technique.

  • [1] Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 13.7. Advice. page 387: '[15] Use the "Resource Acquisition Is Initialization" technique to manage resources'
  • [2] Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 13.7. Advice. page 387: '[18] Use "Resource Acquisition Is Initialization" and exception handlers to maintain invariants'
  • [3] Bjarne Stroustrup. A tour of C++. 2014. ISBN: 978-0-321-958310. Chapter 11.7.4, page 131: 'Use resource handles to manage resources (RAII)'