assert.hpp File Reference

Defines macros to perform different kinds of assertions. More...

## Macros

#define | BOOST_HANA_RUNTIME_ASSERT(condition) unspecified
| Expands to a runtime assertion. More...
#define | BOOST_HANA_RUNTIME_ASSERT_MSG(condition, message) unspecified
| Equivalent to `BOOST_HANA_RUNTIME_ASSERT`, but allows providing a custom failure message. More...
#define | BOOST_HANA_CONSTANT_ASSERT(condition) unspecified
| Compile-time assertion for `Constant`s. More...
#define | BOOST_HANA_CONSTANT_ASSERT_MSG(condition, message) unspecified
| Equivalent to `BOOST_HANA_CONSTANT_ASSERT`, but allows providing a custom failure message. More...
#define | BOOST_HANA_ASSERT(condition) unspecified
| Expands to the strongest form of assertion possible for the given condition. More...
#define | BOOST_HANA_ASSERT_MSG(condition, message) unspecified
| Equivalent to `BOOST_HANA_ASSERT`, but allows providing a custom failure message. More...
#define | BOOST_HANA_CONSTEXPR_ASSERT(condition) unspecified
| Expands to a static assertion or a runtime assertion, depending on whether `constexpr` lambdas are supported. More...
#define | BOOST_HANA_CONSTEXPR_ASSERT_MSG(condition, message) unspecified
| Equivalent to `BOOST_HANA_CONSTEXPR_ASSERT`, but allows providing a custom failure message.
#define | BOOST_HANA_RUNTIME_CHECK_MSG(condition, message)
| Equivalent to `BOOST_HANA_RUNTIME_ASSERT_MSG`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_RUNTIME_CHECK(...)
| Equivalent to `BOOST_HANA_RUNTIME_ASSERT`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_CONSTANT_CHECK_MSG(condition, message)
| Equivalent to `BOOST_HANA_CONSTANT_ASSERT_MSG`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_CONSTANT_CHECK(...)
| Equivalent to `BOOST_HANA_CONSTANT_ASSERT`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_CHECK_MSG(condition, message)
| Equivalent to `BOOST_HANA_ASSERT_MSG`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_CHECK(...)
| Equivalent to `BOOST_HANA__ASSERT`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_CONSTEXPR_CHECK_MSG(condition, message) implementation-defined
| Equivalent to `BOOST_HANA_CONSTEXPR_ASSERT_MSG`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.
#define | BOOST_HANA_CONSTEXPR_CHECK(...) implementation-defined
| Equivalent to `BOOST_HANA_CONSTEXPR_ASSERT`, but not influenced by the `BOOST_HANA_CONFIG_DISABLE_ASSERTIONS` config macro. For internal use only.

## Detailed Description

Defines macros to perform different kinds of assertions.

Copyright
  Louis Dionne 2013-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)