On this page
std::allocator<T>::allocator
(1) | ||
|
(until C++11) | |
|
(since C++11) (until C++20) |
|
|
(since C++20) | |
(2) | ||
|
(until C++11) | |
|
(since C++11) (until C++20) |
|
|
(since C++20) | |
(3) | ||
|
(until C++11) | |
|
(since C++11) (until C++20) |
|
|
(since C++20) |
Constructs the default allocator. Since the default allocator is stateless, the constructors have no visible effect.
Parameters
other | - | another allocator to construct with |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/memory/allocator/allocator