std::allocator::allocator

From cppreference.com
< cpp‎ | memory‎ | allocator
 
 
Dynamic memory management
Uninitialized storage
(C++17)
(deprecated since c++17)
(deprecated since c++17)
(deprecated since c++17)
Garbage collection support
Miscellaneous
(C++11)
(C++11)
C Library
Low level memory management
 
 
allocator();
(1)
allocator( const allocator& other );
(2)
template< class U >
allocator( const allocator<U>& other );
(3)

Constructs the default allocator. Since the default allocator is stateless, the constructors have no visible effect.

Parameters

other - another allocator to construct with

Exceptions

(none) (until C++11)
noexcept specification:  
noexcept
  
(since C++11)