forked from boostorg/optional
Primary template optional<> does not handle references
This commit is contained in:
1 parent
e24ab26874
commit
b5b8414c06
10 files changed
+1235
-193
No files matched your search
@@ -209,13 +209,13 @@ namespace boost {
|
||||
//
|
||||
|
||||
template <> struct optional_swap_should_use_default_constructor<
|
||||
optional_swap_test::class_whose_default_ctor_should_be_used> : mpl::true_ {} ;
|
||||
optional_swap_test::class_whose_default_ctor_should_be_used> : true_type {} ;
|
||||
|
||||
template <> struct optional_swap_should_use_default_constructor<
|
||||
optional_swap_test::class_whose_default_ctor_should_not_be_used> : mpl::false_ {} ;
|
||||
optional_swap_test::class_whose_default_ctor_should_not_be_used> : false_type {} ;
|
||||
|
||||
template <class T> struct optional_swap_should_use_default_constructor<
|
||||
optional_swap_test::template_whose_default_ctor_should_be_used<T> > : mpl::true_ {} ;
|
||||
optional_swap_test::template_whose_default_ctor_should_be_used<T> > : true_type {} ;
|
||||
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user