• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

doc/25-Apr-2025-294233

example/25-Apr-2025-13470

include/boost/25-Apr-2025-181105

meta/25-Apr-2025-1716

test/25-Apr-2025-540291

.gitattributesD25-Apr-20253.8 KiB9791

.travis.ymlD25-Apr-20257.9 KiB326284

CMakeLists.txtD25-Apr-20251 KiB3925

Jamfile.v2D25-Apr-2025289 97

README.mdD25-Apr-20251.6 KiB3722

static_assert.htmD25-Apr-2025884 1916

README.md

1Boost StaticAssert Library
2============================
3
4The Boost StaticAssert library provides static assertions for C++, this library is the ancestor to C++ native static_assert's and
5can be used on older compilers which don't have that feature.
6
7The full documentation is available on [boost.org](http://www.boost.org/doc/libs/release/libs/static_assert).
8
9## Support, bugs and feature requests ##
10
11Bugs and feature requests can be reported through the [Gitub issue tracker](https://github.com/boostorg/static_assert/issues)
12(see [open issues](https://github.com/boostorg/static_assert/issues) and
13[closed issues](https://github.com/boostorg/static_assert/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aclosed)).
14
15You can submit your changes through a [pull request](https://github.com/boostorg/static_assert/pulls).
16
17There is no mailing-list specific to Boost StaticAssert, although you can use the general-purpose Boost [mailing-list](http://lists.boost.org/mailman/listinfo.cgi/boost-users) using the tag [static_assert].
18
19
20## Development ##
21
22Clone the whole boost project, which includes the individual Boost projects as submodules ([see boost+git doc](https://github.com/boostorg/boost/wiki/Getting-Started)):
23
24    git clone https://github.com/boostorg/boost
25    cd boost
26    git submodule update --init
27
28The Boost StaticAssert Library is located in `libs/static_assert/`.
29
30### Running tests ###
31First, make sure you are in `libs/static_assert/test`.
32You can either run all the tests listed in `Jamfile.v2` or run a single test:
33
34    ../../../b2                        <- run all tests
35    ../../../b2 static_assert_test     <- single test
36
37