cpp/named req/Erasable
From cppreference.com
Template:cpp/concept/title Template:cpp/concept/navbar
Specifies that an object of the type can be destroyed by a given Template:concept.
Requirements
The type T
is Template:concept from the Template:concept X
if, given
A
|
the allocator type defined as X::allocator_type
|
m
|
the lvalue of type A obtained from X::get_allocator()
|
p
|
the pointer of type T* prepared by the container
|
the following expression is well-formed:
std::allocator_traits<A>::destroy(m, p);
See Also
Template:concept | |
Template:concept | |
Template:concept | |
Template:concept |