Example Usage: To check the EmplaceConstructible Container requirement you would ask:
__is_alloc_constructible<allocator_type&, value_type, Args...>::value
Paths
| Differential D22255
[libcxx] Create __is_alloc_constructible<Alloc, Type, Args...> trait which checks the validity of allocator_traits construction. Needs ReviewPublic Authored by EricWF on Jul 11 2016, 6:53 PM.
Details
Summary Example Usage: To check the EmplaceConstructible Container requirement you would ask: __is_alloc_constructible<allocator_type&, value_type, Args...>::value
Diff Detail Event TimelineComment Actions
Revision Contents
Diff 63636 include/memory
include/type_traits
include/vector
test/libcxx/utilities/memory/allocator.traits/__is_alloc_constructible.pass.cpp
test/std/containers/sequences/vector/tagging_allocator_instantiation.pass.cpp
test/support/tagging_allocator.hpp
|