Update test/result_value_construct

This commit is contained in:
Peter Dimov
2021-09-17 19:54:53 +03:00
parent 15f94537a6
commit 7d3cfdd09a

View File

@ -121,5 +121,12 @@ int main()
BOOST_TEST_TRAIT_FALSE((std::is_convertible<int, result<X>>));
}
{
result<void> r( in_place_value );
BOOST_TEST( r.has_value() );
BOOST_TEST( !r.has_error() );
}
return boost::report_errors();
}