std::allocator::allocator
De cppreference.com
<tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
| (1) | ||
allocator() throw(); |
(hasta C++11) | |
allocator() noexcept; |
(desde C++11) (hasta C++20) |
|
constexpr allocator() noexcept; |
(desde C++20) | |
| (2) | ||
allocator( const allocator& other ) throw(); |
(hasta C++11) | |
allocator( const allocator& other ) noexcept; |
(desde C++11) (hasta C++20) |
|
constexpr allocator( const allocator& other ) noexcept; |
(desde C++20) | |
| (3) | ||
template< class U > allocator( const allocator<U>& other ) throw(); |
(hasta C++11) | |
template< class U > allocator( const allocator<U>& other ) noexcept; |
(desde C++11) (hasta C++20) |
|
template< class U > constexpr allocator( const allocator<U>& other ) noexcept; |
(desde C++20) | |
Construye el asignador de memoria por defecto. Como el asignador por defecto no tiene estado, los constructores no tiene un efecto visible.
Parámetros
| other | - | Otro asignador con el que construir. |