[libcxx-commits] [libcxx] [libc++][NFC] Update <any> to a more modern code style (PR #174619)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jan 10 08:50:17 PST 2026


================
@@ -201,25 +201,31 @@ public:
       __other.__call(_Action::_Move, this);
   }
 
-  template < class _ValueType,
-             class _Tp = decay_t<_ValueType>,
-             class     = enable_if_t< !is_same<_Tp, any>::value && !__is_inplace_type<_ValueType>::value &&
----------------
huixie90 wrote:

should we use `_And` instead here?

https://github.com/llvm/llvm-project/pull/174619


More information about the libcxx-commits mailing list