std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy (3) - Linux Manuals
std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy: std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy
Command to display std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy
manual in Linux: $ man 3 std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy
NAME
std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy
Synopsis
Defined in header <scoped_allocator>
template< class T > (since C++11)
void destroy( T* p );
Uses the outer allocator to call the destructor of the object pointed to by p, by calling
std::allocator_traits<OUTERMOST>::destroy(OUTERMOST(*this), p)
where OUTERMOST is the type that would be returned by calling this->outer_allocator(), and then calling the outer_allocator() member function recursively on the result of this call until reaching the type that has no such member function.
Parameters
p - pointer to the object that is going to be destroyed
Return value
(none)
See also
destroy destructs an object stored in the allocated storage
(function template)
[static]
destroy destructs an object in allocated storage
(public member function of std::allocator<T>)
(deprecated in C++17)
(removed in C++20)
Pages related to std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::destroy
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::deallocate (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::deallocate
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::allocate (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::allocate
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::construct (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::construct
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::inner_allocator (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::inner_allocator
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::max_size (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::max_size
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::operator= (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::operator=
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outer_allocator (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::outer_allocator
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::scoped_allocator_adaptor (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::scoped_allocator_adaptor
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::select_on_container_copy_construction (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::select_on_container_copy_construction
- std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::~scoped_allocator_adaptor (3) - std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>::~scoped_allocator_adaptor
- std::scoped_allocator_adaptor (3) - std::scoped_allocator_adaptor
- std::scoped_lock (3) - std::scoped_lock
- std::scoped_lock<MutexTypes...>::scoped_lock (3) - std::scoped_lock<MutexTypes...>::scoped_lock
- std::scoped_lock<MutexTypes...>::~scoped_lock (3) - std::scoped_lock<MutexTypes...>::~scoped_lock
- std::scalbn,std::scalbnf,std::scalbnl,std::scalbln,std::scalblnf,std::scalblnl (3) - std::scalbn,std::scalbnf,std::scalbnl,std::scalbln,std::scalblnf,std::scalblnl