[libcxx-commits] [PATCH] D132061: [libc++] static_assert preconditions in vector
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Oct 27 09:11:29 PDT 2022
ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/include/__memory/allocator_traits.h:383
+
+// If it's the primary template and the allocator doesn't have a custom construt(),
+// we check instead that the type is constructible, since the default construct() isn't constrained.
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132061/new/
https://reviews.llvm.org/D132061
More information about the libcxx-commits
mailing list