Go to file
2019-02-27 18:28:11 +00:00
doc Add, and update, documentation build targets. 2016-10-07 23:07:36 -05:00
example Move header dependencies around - 2018-09-25 18:25:26 +01:00
include/boost Simplified boolean expression 2019-01-21 16:50:00 -06:00
meta Add metadata file. 2014-08-18 15:11:03 +01:00
test Move files into standard directory structure. 2016-06-14 18:37:24 +01:00
.gitattributes Static assert initial checkin 2000-12-03 12:29:42 +00:00
.travis.yml Add .travis.yml 2017-05-16 18:17:17 +01:00
CMakeLists.txt [CMake] Generate cmake target that other libraries can use 2018-10-01 10:41:48 +02:00
index.html Added license info. 2006-07-17 10:49:22 +00:00
Jamfile.v2 temporarily fix up paths until we can delete this file. 2016-06-14 18:43:24 +01:00
README.md add README.md 2018-10-15 18:12:54 +01:00
static_assert.htm Added license info. 2006-07-17 10:49:22 +00:00

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