Go back to Richel Bilderbeek's homepage.

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

 

 

 

 

 

(C++) strong guarantee

 

The strong guarantee is a type of exception guarantee.

 

The strong guarantee denotes that the basic guarantee is satisfied, and that a certain statement either succeeds or has no effect.

 

Provide the strong guarantee unless there is a reason not to [1].

 

 

 

 

Reference

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 13.7. Advice. page 387: '[10] 'Provide the strong guarantee unless there is a reason not to'

 

 

 

 

 

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

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict