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::experimental::pmr::polymorphic_allocator(3) C++ Standard Libary std::experimental::pmr::polymorphic_allocator(3)

std::experimental::pmr::polymorphic_allocator - std::experimental::pmr::polymorphic_allocator


Defined in header <experimental/memory_resource>
template< class T > (library fundamentals TS)
class polymorphic_allocator;


The class template std::experimental::pmr::polymorphic_allocator is an Allocator
whose allocation behavior depends on the memory resource it is constructed with.
Thus, different instances of polymorphic_allocator can exhibit entirely different
allocation behavior. This runtime polymorphism allows objects using
polymorphic_allocator to behave as if they used different allocator types at run
time despite the identical static allocator type.


Member type definition
value_type T


constructor Constructs a polymorphic_allocator
(public member function)
destructor Implicitly declared destructor
(implicitly declared) (public member function)
operator= Copy assignment operator
(public member function)


allocate Allocate memory
(public member function)
deallocate Deallocate memory
(public member function)
construct Constructs an object in allocated storage
(public member function)
destroy Destroys an object in allocated storage
(public member function)
Create a new polymorphic_allocator for use by
select_on_container_copy_construction a container's copy constructor
(public member function)
Returns a pointer to the underlying memory
resource resource
(public member function)


operator== compare two polymorphic_allocators
operator!= (function)

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.