[PATCH] D22255: [libcxx] Create __is_alloc_constructible<Alloc, Type, Args...> trait which checks the validity of allocator_traits construction.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 11 18:53:25 PDT 2016
EricWF created this revision.
EricWF added a reviewer: mclow.lists.
EricWF added a subscriber: cfe-commits.
Example Usage: To check the `EmplaceConstructible` Container requirement you would ask:
`__is_alloc_constructible<allocator_type&, value_type, Args...>::value`
http://reviews.llvm.org/D22255
Files:
include/memory
include/type_traits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22255.63626.patch
Type: text/x-patch
Size: 9129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160712/7c93d52b/attachment.bin>
More information about the cfe-commits
mailing list