Correctness Generic Metaprogramming C++03
Added in 1.19.0

Boost.StaticAssert

Static assertions (compile time assertions).

About Boost.StaticAssert

Please check out the library's documentation to learn more.

In Progress Branch

You are viewing the master version of this library.

The master and develop pages are shown here to provide access to the newest in-development in-progress documentation. See the "Documentation" link on this page.

Other aspects of the page will reflect the previous official version, or not be available until the next release.

Documentation

Boost StaticAssert Library

The Boost StaticAssert library provides static assertions for C++, this library is the ancestor to C++ native static_assert's and can be used on older compilers which don't have that feature.

This library has been merged into Boost.Config. The full documentation is available on boost.org.

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.