Drop support for C++03

This commit is contained in:
Andrzej Krzemienski
2024-08-15 01:48:31 +02:00
parent 8421c07517
commit 82d08adf11
5 changed files with 71 additions and 65 deletions

View File

@ -29,13 +29,15 @@ void test()
{
#if (!defined BOOST_NO_CXX11_RVALUE_REFERENCES)
boost::optional<int> v = Wrapper();
BOOST_TEST(v);
//BOOST_TEST(v);
boost::optional<boost::optional<int>> vv;
bool xx = vv?true : false;
BOOST_TEST_EQ(*v, 7);
#endif
}
}
int main()
{
test();
return boost::report_errors();
}
}