diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-10-16 02:51:50 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-10-16 02:51:50 +0000 |
commit | 50253ed1c67b75c71c8ec2d24ed915c032b11822 (patch) | |
tree | 95aa7eb8def3b368a026bf4ff96322688bad8582 /libcxx/include/any | |
parent | 9c737fddba93bce4127dbed4fa2a4440414c1afb (diff) | |
download | bcm5719-llvm-50253ed1c67b75c71c8ec2d24ed915c032b11822.tar.gz bcm5719-llvm-50253ed1c67b75c71c8ec2d24ed915c032b11822.zip |
Update issue status for LWG 2744
llvm-svn: 284322
Diffstat (limited to 'libcxx/include/any')
-rw-r--r-- | libcxx/include/any | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libcxx/include/any b/libcxx/include/any index 8fe9e8fe867..7f2cf1ef2b4 100644 --- a/libcxx/include/any +++ b/libcxx/include/any @@ -200,7 +200,7 @@ public: , class _Tp = decay_t<_ValueType> , class = enable_if_t< !is_same<_Tp, any>::value && - !__is_inplace_type<_ValueType>::value && + !__is_inplace_type_tag<_ValueType>::value && is_copy_constructible<_Tp>::value> > _LIBCPP_INLINE_VISIBILITY @@ -241,15 +241,12 @@ public: return *this; } - // TODO: Should this be constrained to disallow in_place types like the - // ValueType constructor? template < class _ValueType , class _Tp = decay_t<_ValueType> , class = enable_if_t< !is_same<_Tp, any>::value - && is_copy_constructible<_Tp>::value - && !__is_inplace_type<_ValueType>::value> + && is_copy_constructible<_Tp>::value> > _LIBCPP_INLINE_VISIBILITY any & operator=(_ValueType && __rhs); |