std::pmr::polymorphic_allocator<T>:: select_on_container_copy_construction
From cppreference.net
<
cpp
|
memory
|
polymorphic allocator
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::pmr::polymorphic_allocator
| Member functions | ||||
|
(
C++20/26*
)
|
||||
|
polymorphic_allocator::select_on_container_copy_construction
|
||||
| Non-member functions | ||||
|
(until C++20)
|
|
polymorphic_allocator select_on_container_copy_construction
(
)
const
;
|
(depuis C++17) | |
Retourne un objet
polymorphic_allocator
construit par défaut.
Table des matières |
Paramètres
(aucun)
Valeur de retour
Un objet
polymorphic_allocator
construit par défaut.
Notes
polymorphic_allocator
ne se propagent pas lors de la construction par copie de conteneur.
Voir aussi
|
obtient l'allocateur à utiliser après la copie d'un conteneur standard
(fonction membre publique statique de
std::allocator_traits<Alloc>
)
|