Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) basic guarantee

 

The basic guarantee is a type of exception guarantee.

 

The basic guarantee denotes that the basic invariants of an object are maintained and no resources are leaked.

 

Always provide the basic guarantee [1].

 

 

 

 

Reference

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 13.7. Advice. page 387: '[9] 'Always provide the basic guarantee'

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict