[libcxx-commits] [PATCH] D80067: [NFC] Remove non-variadic overloads of allocator_traits::construct.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 19 17:39:09 PDT 2020


zoecarver marked an inline comment as done.
zoecarver added inline comments.


================
Comment at: libcxx/include/memory:1491
+template <class _Alloc, class ..._Args,
+    class = decltype(_VSTD::declval<_Alloc>().construct(_VSTD::declval<_Args>()...))>
+static true_type __test_has_construct(int);
----------------
ldionne wrote:
> Is there any reason why this can't be shared with the non-C++03 implementation above?
No reason. I'll replace the current implementation with this one. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80067/new/

https://reviews.llvm.org/D80067





More information about the libcxx-commits mailing list