Added a new macro BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT, which implements a noexcept operator. Also added explicit noexcept specification for the constexpr macro.

This commit is contained in:
Andrey Semashev
2014-04-26 15:11:35 +04:00
parent de0e18ca0a
commit d1bfa8e7b0
6 changed files with 123 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
* http://www.boost.org/LICENSE_1_0.txt)
*/
/*!
* \file explicit_operator_bool_compile.cpp
* \file explicit_operator_bool.cpp
* \author Andrey Semashev
* \date 17.07.2010
*
@@ -13,7 +13,7 @@
* the valid contexts.
*/
#define BOOST_TEST_MODULE explicit_operator_bool_compile
#define BOOST_TEST_MODULE explicit_operator_bool
#include <boost/utility/explicit_operator_bool.hpp>