std::experimental::pmr::polymorphic_allocator::
destroy
From cppreference.com
<
cpp
|
experimental
|
polymorphic allocator
C++
Language
Standard library headers
Concepts
Utilities library
Strings library
Containers library
Algorithms library
Iterators library
Numerics library
Input/output library
Localizations library
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Filesystem library
(C++17)
Technical Specifications
Library fundamentals
experimental::optional
experimental::any
experimental::basic_string_view
experimental::sample
experimental::shared_ptr
experimental::weak_ptr
experimental::apply
experimental::invocation_type
experimental::raw_invocation_type
experimental::search
experimental::default_searcher
experimental::make_default_searcher
experimental::boyer_moore_searcher
experimental::make_boyer_moore_searcher
experimental::boyer_moore_horspool_searcher
experimental::make_boyer_moore_horspool_searcher
type-erased and polymorphic allocators
variable templates for type traits
Polymorphic allocator library
polymorphic_allocator
convenience aliases for containers using polymorphic_allocator
Memory resource classes
memory_resource
synchronized_pool_resource
unsynchronized_pool_resource
monotonic_buffer_resource
resource_adaptor
Global memory resources
new_delete_resource
null_memory_resource
get_default_resource
set_default_resource
Type-erased allocator support for existing classes
function
packaged_task
promise
std::experimental::pmr::polymorphic_allocator
Member functions
polymorphic_allocator::polymorphic_allocator
polymorphic_allocator::operator=
polymorphic_allocator::allocate
polymorphic_allocator::deallocate
polymorphic_allocator::construct
polymorphic_allocator::destroy
polymorphic_allocator::select_on_container_copy_construction
polymorphic_allocator::resource
Non-member functions
operator==
operator!=
template
<
class
U
>
void
destroy
(
U
*
p
)
;
(library fundamentals TS)
Destroys the object pointed to by
p
, as if by calling
p
-
>
~U
(
)
.
[
edit
]
Parameters
p
-
pointer to the object being destroyed
[
edit
]
See also
destroy
[static]
destructs an object stored in the allocated storage
(function template)