std::vector<T,Allocator>::get_allocator
De cppreference.com
allocator_type get_allocator()const; | (hasta C++11) | |
allocator_type get_allocator()constnoexcept; | (desde C++11) (hasta C++20) | |
constexpr allocator_type get_allocator()constnoexcept; | (desde C++20) | |
Devuelve el asignador de memoria asociado con el contenedor.
[editar]Parámetros
(Ninguno)
[editar]Valor de retorno
El asignador de memoria asociado.
[editar]Complejidad
Constante.