std::scoped_allocator_adaptor::scoped_allocator_adaptor
De cppreference.com.
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Défini dans l'entête <scoped_allocator>
|
||
| scoped_allocator_adaptor() |
(1) | (depuis C++11) |
| template< class OuterA2 > scoped_allocator_adaptor( OuterA2&& outerAlloc, const InnerAllocs&... innerAllocs) |
(2) | (depuis C++11) |
| scoped_allocator_adaptor( const scoped_allocator_adaptor& other ) |
(3) | (depuis C++11) |
| scoped_allocator_adaptor( scoped_allocator_adaptor&& other ) |
(4) | (depuis C++11) |
| template< class OuterA2 > scoped_allocator_adaptor( const scoped_allocator_adaptor<OuterA2, InnerAllocs...>& other ) |
(5) | (depuis C++11) |
| template< class OuterA2 > scoped_allocator_adaptor( scoped_allocator_adaptor<OuterA2, InnerAllocs...>&& other ) |
(6) | (depuis C++11) |
Constructeur par défaut: valeur-initialise la classe de base
2) OuterAlloc et l'objet allocateur organe interne, si elle est utilisée par la mise en œuvre .Original:
Default constructor: value-initializes the
OuterAlloc base class and the inner allocator member object, if used by the implementation.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Construit la classe de base à partir
3) OuterAlloc std::forward<OuterA2>(outerAlloc), et les répartiteurs intérieurs avec innerAllocs... .Original:
Constructs the base class
OuterAlloc from std::forward<OuterA2>(outerAlloc), and the inner allocators with innerAllocs....The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Copier-constructeur: initialise chaque allocateur de l'allocateur correspondant de
4) otherOriginal:
Copy-constructor: initializes each allocator from the corresponding allocator of
otherThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Move-constructeur: déplace chaque allocateur de l'allocateur correspondant de
5) other en *thisOriginal:
Move-constructor: moves each allocator from the corresponding allocator of
other into *thisThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Initialise chaque allocateur de l'allocateur de
6) other correspondantOriginal:
Initializes each allocator from the corresponding allocator of
otherThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Initialise chaque allocateur de l'allocateur de
other correspondant, en utilisant une sémantique de déplacement .Original:
Initializes each allocator from the corresponding allocator of
other, using move semantics.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Paramètres
| outerAlloc | - | argument du constructeur pour l'allocateur extérieur
Original: constructor argument for the outer allocator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| innerAllocs... | - | arguments du constructeur pour les répartiteurs intérieurs
Original: constructor arguments for the inner allocators The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| other | - | std::scoped_allocator_adaptor autreOriginal: another std::scoped_allocator_adaptorThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifier] Exceptions
2-6)[modifier] Voir aussi
| alloue non initialisée stockage à l'aide de l'allocateur extérieur Original: allocates uninitialized storage using the outer allocator The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) | |
| construit un objet de stockage alloué, en passant l'allocateur intérieure à son constructeur, le cas échéant Original: constructs an object in allocated storage, passing the inner allocator to its constructor if appropriate The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) | |