◐ Shell
clean mode source ↗

std::allocator_arg_t – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<memory>

struct allocator_arg_t {};

(seit C++11)

std::allocator_arg_t ist eine leere Klasse Typ verwendet, um die Überlastung von Konstruktoren und Elementfunktionen Allocator-aware Objekte, einschließlich std::tuple disambiguate, std::function, std::promise und std::packaged_task .

Original:

std::allocator_arg_t is an empty class type used to disambiguate the overloads of constructors and member functions of allocator-aware objects, including std::tuple, std::function, std::promise, and std::packaged_task.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Siehe auch

eine Konstante, um Konstruktoren, die Allokatoren unterstützen, auswählen zu können
(konstanten) [edit]
prüft, ob der angegebene Typ allokatorgestützte Erzeugung unterstützt.
(Klassen-Template) [edit]