forked from boostorg/optional
Fixed unit tests (still need to add more unit tests for move semantics)
This commit is contained in:
@ -146,7 +146,8 @@ void test_move_ctor_from_optional_T()
|
||||
|
||||
void test_move_assign_from_U()
|
||||
{
|
||||
optional<Oracle> o1;
|
||||
optional<Oracle> o1 = boost::none; // test if additional ctors didn't break it
|
||||
o1 = boost::none; // test if additional assignments didn't break it
|
||||
o1 = OracleVal();
|
||||
BOOST_CHECK(o1);
|
||||
|
||||
|
Reference in New Issue
Block a user