More restrictive assignment from optional<U>

This commit is contained in:
Andrzej Krzemienski
2015-03-06 19:20:45 +01:00
parent 16023fe934
commit 59266a2630
8 changed files with 444 additions and 175 deletions

View File

@@ -56,5 +56,6 @@ import testing ;
[ compile-fail optional_test_fail_explicit_convert_in_value_or.cpp ]
[ compile-fail optional_test_fail_explicit_convert_in_value_or_call.cpp ]
[ compile-fail optional_test_fail_io_without_io.cpp ]
[ compile-fail optional_test_fail_convert_assign_of_enums.cpp ]
;
}