[libcxx-commits] [libcxx] [libcxx] changes `__is_allocator` from a struct to a variable or concept (PR #68629)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 9 14:14:23 PDT 2023


================
@@ -317,14 +317,14 @@ public:
 
 #if _LIBCPP_STD_VER >= 17
 template<class _Container,
-         class = enable_if_t<!__is_allocator<_Container>::value>
+         class = enable_if_t<!__is_allocator<_Container> >
----------------
philnik777 wrote:

Nit: This is C++17 code, so we don't need the whitespace. Same for quite a few other places.

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


More information about the libcxx-commits mailing list