Opened 6 years ago

#12703 new Bugs

BOOST_MPL_ASSERT_MSG cannot be used in constexpr functions

Reported by: socgerlia@… Owned by: Aleksey Gurtovoy
Milestone: To Be Determined Component: mpl
Version: Boost 1.62.0 Severity: Problem
Keywords: constexpr mpl Cc: socgerlia@…

Description

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?

Change History (0)

Note: See TracTickets for help on using tickets.