forked from boostorg/optional
Disabled assignment and construction from rvalue references in optional<const T&>
This commit is contained in:
1 parent
0e61751fab
commit
3816143646
6 files changed
+133
-12
No files matched your search
@@ -32,5 +32,9 @@ import testing ;
|
||||
[ compile-fail optional_test_inplace_fail2.cpp ]
|
||||
[ compile-fail optional_test_fail_copying_a_moveable_type.cpp ]
|
||||
[ compile-fail optional_test_fail_optional_rvalue_ref.cpp ]
|
||||
[ compile-fail optional_test_ref_fail_init_from_Trefref.cpp ]
|
||||
[ compile-fail optional_test_ref_fail_init_from_Urefref.cpp ]
|
||||
[ compile-fail optional_test_ref_fail_assign_from_Trefref.cpp ]
|
||||
[ compile-fail optional_test_ref_fail_assign_from_Urefref.cpp ]
|
||||
;
|
||||
}
|
||||
Reference in new issue
Block a user