forked from boostorg/optional
Fixed unit tests (still need to add more unit tests for move semantics)
This commit is contained in:
1 parent
a26d11be87
commit
5c69bac12f
3 files changed
+64
-38
No files matched your search
@@ -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