GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::scoped_allocator_adaptor::destroy(3) C++ Standard Libary std::scoped_allocator_adaptor::destroy(3)

std::scoped_allocator_adaptor::destroy - std::scoped_allocator_adaptor::destroy


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.


p - pointer to the object that is going to be destroyed


(none)


destroy destructs an object stored in the allocated storage
[static] (function template)
destroy destructs an object in allocated storage
(until C++20) (public member function of std::allocator<T>)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.