Your code depends on Boost. Boost depends on you.

Boost's 180+ libraries are free, peer-reviewed, and kept running by a small group of maintainers. Help fund the work behind every release. Your gift is tax-deductible.

Correctness Generic Metaprogramming C++03
Added in 1.19.0

Boost.StaticAssert

Static assertions (compile time assertions). Merged into Boost.Config.

About Boost.StaticAssert

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

Contributors: This 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.

All Contributors