◐ Shell
clean mode source ↗

std::allocator_arg — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<memory>

constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t();

(depuis C++11)

std::allocator_arg est une constante de type std::allocator_arg_t utilisée pour lever l'ambiguïté, au site d'appel, les surcharges des constructeurs et les fonctions membres de l'allocateur-aware objets, tels que std::tuple, std::function, std::promise et std::packaged_task .

Original:

std::allocator_arg is a constant of type std::allocator_arg_t used to disambiguate, at call site, the overloads of the constructors and member functions of allocator-aware objects, such as 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.

Voir aussi

type de variable utilisé pour sélectionner surcharges de constructeur allocateur-aware

Original:

tag type used to select allocator-aware constructor overloads

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


(classe) [edit]

vérifie si le type spécifié prend en charge les utilisations-allocateur de construction

Original:

checks if the specified type supports uses-allocator construction

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


(classe générique) [edit]