std::scoped_allocator_adaptor::inner_allocator
Aus cppreference.com
< cpp | memory | scoped allocator adaptor
![]() | 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. |
definiert in Header <scoped_allocator> | ||
inner_allocator_type& inner_allocator() | (1) | (seit C++11) |
const inner_allocator_type& inner_allocator()const | (2) | (seit C++11) |
Erhält einen Verweis auf die innere Zuweisungseinrichtung verwendet, um dieses
scoped_allocator_adaptor
erklären .Original:
Obtains a reference to the inner allocator used to declare this
scoped_allocator_adaptor
.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.
Wenn sizeof...(InnerAllocs)==0, das heißt, keine inneren Zuweiser erklärt wurden, kehrt *this. Andernfalls gibt einen Verweis auf std::scoped_allocator_adaptor<InnerAllocs...>, das heißt, ein Zielfernrohr Zuordner aller inneren Zuordnern von *this zusammengesetzt ist, mit dem ersten inneren Zuweisungseinrichtung immer die äußere Zuordner .
Original:
If sizeof...(InnerAllocs)==0, that is, no inner allocators were declared, returns *this. Otherwise returns a reference to std::scoped_allocator_adaptor<InnerAllocs...>, that is, a scoped allocator composed of all inner allocators of *this, with the first inner allocator becoming 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.
You can help to correct and verify the translation. Click here for instructions.
Inhaltsverzeichnis |
[Bearbeiten]Parameter
(None)
Original:
(none)
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]Rückgabewert
Ein Verweis auf die innere allocator, ist das selbst ein
std::scoped_allocator_adaptor
.Original:
A reference to the inner allocator, which is itself a
std::scoped_allocator_adaptor
.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]Ausnahmen
1-2)[Bearbeiten]Siehe auch
erhält einen outer_allocator ReferenzOriginal: obtains an outer_allocator referenceThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) |