make boost::implicit_cast constexpr (fixes #25)

This commit is contained in:
Antony Polukhin committed 2021-04-21 20:51:14 +03:00
1 parent 4e557d31d1
commit 9e3216d22f
2 files changed
+10 -1

No files matched your search

+4
View File
@@ -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();
}