forked from boostorg/conversion
make boost::implicit_cast constexpr (fixes #25)
This commit is contained in:
@@ -34,5 +34,9 @@ int main()
|
||||
(void)f;
|
||||
(void)z;
|
||||
|
||||
|
||||
BOOST_CONSTEXPR long value = boost::implicit_cast<long>(42);
|
||||
BOOST_TEST(value == 42L);
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user