std::allocator_arg
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é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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Voir aussi
(C++11) |
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) |
(C++11) |
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) |