Skip to content

LukeCz/static_assert

 
 

Repository files navigation

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.

The full documentation is available on boost.org.

Support, bugs and feature requests

Bugs and feature requests can be reported through the Gitub issue tracker (see open issues and closed issues).

You can submit your changes through a pull request.

There is no mailing-list specific to Boost StaticAssert, although you can use the general-purpose Boost mailing-list using the tag [static_assert].

Development

Clone the whole boost project, which includes the individual Boost projects as submodules (see boost+git doc):

git clone https://github.com/boostorg/boost
cd boost
git submodule update --init

The Boost StaticAssert Library is located in libs/static_assert/.

Running tests

First, make sure you are in libs/static_assert/test. You can either run all the tests listed in Jamfile.v2 or run a single test:

../../../b2                        <- run all tests
../../../b2 static_assert_test     <- single test

About

Boost.org static_assert module

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 90.4%
  • HTML 7.5%
  • CMake 2.1%