Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost 1.73.0 Library Documentation - Correctness and testing

Sort by:

Correctness and testing

Concept Check

Tools for generic programming.

Author(s)
Jeremy Siek
First Release
1.19.0
Categories
Correctness and testing, Generic Programming
Static Assert

Static assertions (compile time assertions).

Author(s)
John Maddock
First Release
1.19.0
Categories
Correctness and testing, Generic Programming, Template Metaprogramming
Test

Support for simple program testing, full unit testing, and for program execution monitoring.

Author(s)
Gennadiy Rozental and Raffi Enficiaud
First Release
1.21.0
Categories
Correctness and testing
Assert

Customizable assert macros.

Author(s)
Peter Dimov
First Release
1.27.0
Categories
Correctness and testing
Stacktrace

Gather, store, copy and print backtraces.

Author(s)
Antony Polukhin
First Release
1.65.0
Categories
Correctness and testing, System
Contract

Contract programming for C++. All contract programming features are supported: Subcontracting, class invariants, postconditions (with old and return values), preconditions, customizable actions on assertion failure (e.g., terminate or throw), optional compilation and checking of assertions, etc.

Author(s)
Lorenzo Caminiti
First Release
1.67.0
Categories
Correctness and testing
Safe Numerics

Guaranteed Correct Integer Arithmetic

Author(s)
Robert Ramey
First Release
1.69.0
Categories
Correctness and testing, Math and numerics