Boost
arrow_drop_down
Boost.StaticAssert
M
D

本次发布

John Maddock
John Maddock
作者
sdarwin
sdarwin
贡献者 - 新
Rene Rivera
Rene Rivera
贡献者

依赖项

Boost StaticAssert 库

Boost StaticAssert 库为 C++ 提供了静态断言功能,该库是 C++ 原生 static_assert 的前身,可以在不支持该特性的旧编译器上使用。

完整文档可在 boost.org 上找到。

支持、错误和功能请求

可以通过 Gitub 问题跟踪器 报告 bug 和功能请求(请参阅 未解决的问题已解决的问题)。

您可以通过 pull request 提交您的更改。

Boost StaticAssert 没有特定的邮件列表,但您可以使用通用的 Boost 邮件列表,并在主题中使用 [static_assert] 标签。

开发

克隆整个 boost 项目,其中包含各个 Boost 项目作为子模块(参见 boost+git 文档)。

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

Boost StaticAssert 库位于 libs/static_assert/

运行测试

首先,请确保您位于 libs/static_assert/test 目录下。您可以运行 Jamfile.v2 中列出的所有测试,或者运行单个测试。

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

全部时间

Beman Dawes
Beman Dawes
贡献者
nobody
贡献者
Peter Dimov
Peter Dimov
贡献者
Marshall Clow
Marshall Clow
贡献者
Daniel James
Daniel James
贡献者
Troy D. Straszheim
Troy D. Straszheim
贡献者
Jens Maurer
Jens Maurer
贡献者
Dave Abrahams
Dave Abrahams
贡献者
Aleksey Gurtovoy
贡献者
Edward Diener
Edward Diener
贡献者
Michael A. Jackson
Michael A. Jackson
贡献者
Douglas Gregor
Douglas Gregor
贡献者
Lukasz Czajczyk
Lukasz Czajczyk
贡献者
Darin Adler
贡献者
Mathias Gaunard
Mathias Gaunard
贡献者
Stephen Kelly
Stephen Kelly
贡献者
Michel Morin
Michel Morin
贡献者
Mike Dev
Mike Dev
贡献者
Ion Gaztañaga
Ion Gaztañaga
贡献者
Vladimir Prus
Vladimir Prus
贡献者
Giovanni Bajo
Giovanni Bajo
贡献者