Added a test to verify that boost::optional copy constructor does not invoke T's template constructors.

This commit is contained in:
Andrey Semashev
2018-11-04 17:54:57 +03:00
parent 24d29e5865
commit 2f3cf1ca84
2 changed files with 58 additions and 0 deletions

View File

@ -76,6 +76,7 @@ import testing ;
[ run optional_test_static_properties.cpp ]
[ compile optional_test_maybe_uninitialized_warning.cpp ]
[ compile optional_test_deleted_default_ctor.cpp ]
[ compile optional_test_constructible_from_other.cpp ]
#[ run optional_xconfig_HACK_TO_LIST_PREDEFINED_MACROS.cpp ]
[ run optional_xconfig_NO_PROPER_ASSIGN_FROM_CONST_INT_pass.cpp ]
[ run-fail optional_xconfig_NO_PROPER_ASSIGN_FROM_CONST_INT_fail.cpp ]