std::allocator_arg_t
来自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 <memory>
|
||
| struct allocator_arg_t {}; |
(C++11 起) | |
std::allocator_arg_t是一個空的類類型,對它們進行區分的重載的構造函數和成員函數的分配器感知的對象,包括std::tuple,std::function,std::promise,並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.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另請參閱
| (C++11) |
一個對象的類型std::allocator_arg_t用來選擇分配器感知的構造函數 Original: an object of type std::allocator_arg_t used to select allocator-aware constructors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (不變) |
| (C++11) |
檢查如果指定的類型支持使用分配器建設的 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. (類模板) |