std::scoped_allocator_adaptor::scoped_allocator_adaptor
Aus 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. |
| Defined in header <scoped_allocator>
|
||
| scoped_allocator_adaptor() |
(1) | (seit C++11) |
| template< class OuterA2 > scoped_allocator_adaptor( OuterA2&& outerAlloc, const InnerAllocs&... innerAllocs) |
(2) | (seit C++11) |
| scoped_allocator_adaptor( const scoped_allocator_adaptor& other ) |
(3) | (seit C++11) |
| scoped_allocator_adaptor( scoped_allocator_adaptor&& other ) |
(4) | (seit C++11) |
| template< class OuterA2 > scoped_allocator_adaptor( const scoped_allocator_adaptor<OuterA2, InnerAllocs...>& other ) |
(5) | (seit C++11) |
| template< class OuterA2 > scoped_allocator_adaptor( scoped_allocator_adaptor<OuterA2, InnerAllocs...>&& other ) |
(6) | (seit C++11) |
Standardkonstruktor: value-initialisiert die
2) OuterAlloc Basisklasse und die innere allocator Member-Objekt, wenn durch die Umsetzung verwendet .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.
Konstruiert die Basisklasse
3) OuterAlloc von std::forward<OuterA2>(outerAlloc), und die inneren Zuweiser mit 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.
Copy-Konstruktor: initialisiert jede Zuweisung aus dem entsprechenden Zuweisung der
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-constructor: bewegt jedes allocator aus der entsprechenden Zuweisung der
5) other in *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.
Initialisiert jede Zuordner von der entsprechenden der Zuordner
6) otherOriginal:
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.
Initialisiert jedes allocator aus der entsprechenden Zuweisung der
other mit move-Semantik .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.
[Bearbeiten] Parameter
| outerAlloc | - | Konstruktorargument für den äußeren Allocator
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... | - | Konstruktor Argumente für den inneren Zuweiser
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 | - | anderen
std::scoped_allocator_adaptorOriginal: 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. |
[Bearbeiten] Ausnahmen
2-6)[Bearbeiten] Siehe auch
| ordnet initialisierten Speicher mit den äußeren Allocator 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. (öffentliche Elementfunktion) | |
| baut ein Objekt in zugewiesenen Lagerstätten, vorbei an der inneren allocator an den Konstruktor gegebenenfalls 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. (öffentliche Elementfunktion) | |