std::allocator_arg
来自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>
|
||
| constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t(); |
(C++11 起) | |
std::allocator_arg类型std::allocator_arg_t对它们进行区分,在调用的位置是一个常数,重载的构造函数和成员函数的分配器感知的对象,如std::tuple,std::function,std::promise,并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.
[编辑] 另请参阅
| (C++11) |
使用的标签类型选择分配器感知的构造函数重载 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. (类) |
| (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. (类模板) |