[Boost-bugs] [Boost C++ Libraries] #12703: BOOST_MPL_ASSERT_MSG cannot be used in constexpr functions

Subject: [Boost-bugs] [Boost C++ Libraries] #12703: BOOST_MPL_ASSERT_MSG cannot be used in constexpr functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-20 02:51:25


#12703: BOOST_MPL_ASSERT_MSG cannot be used in constexpr functions
------------------------------+-----------------------
 Reporter: socgerlia@… | Owner: agurtovoy
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpl
  Version: Boost 1.62.0 | Severity: Problem
 Keywords: constexpr mpl |
------------------------------+-----------------------
 The current implementation of BOOST_MPL_ASSERT_MSG use a static const
 std::size_t varieble that cannot be used in constexpr functions. I think
 this can be replaced by an enum declare. why use static const varieble?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12703>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC