mirror of
https://github.com/boostorg/static_assert.git
synced 2025-07-25 10:17:28 +02:00
Merge changes from Trunk.
[SVN r81828]
This commit is contained in:
@ -36,7 +36,7 @@ the static assertion will be evaluated at the time the template is instantiated;
|
||||
this is particularly useful for validating template parameters.
|
||||
|
||||
If the C++0x `static_assert` feature is available, both macros will use it.
|
||||
For `BOOST_STATIC_ASSERT(x)`, the error message with be a stringized version of `x`.
|
||||
For `BOOST_STATIC_ASSERT(x)`, the error message will be a stringized version of `x`.
|
||||
For `BOOST_STATIC_ASSERT_MSG(x, msg)`, the error message will be the `msg` string.
|
||||
|
||||
If the C++0x `static_assert` feature is not available, `BOOST_STATIC_ASSERT_MSG(x, msg)`
|
||||
|
Reference in New Issue
Block a user