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

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 19 06:28:26 PDT 2020


ldionne requested changes to this revision.
ldionne added inline comments.
This revision now requires changes to proceed.


================
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);
----------------
Is there any reason why this can't be shared with the non-C++03 implementation above?


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