Disabled assignment and construction from rvalue references in optional<const T&>

This commit is contained in:
Andrzej Krzemienski committed 2014-04-28 15:48:55 +02:00
1 parent 0e61751fab
commit 3816143646
6 files changed
+133 -12

No files matched your search

+4
View File
@@ -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 ]
;
}