C++ Memory 库 - allocator_arg
描述
它用作某些类的构造函数的第一个参数,以指定下一个参数是分配器对象。
声明
以下是 std::allocator 函数的声明。
constexpr allocator_arg_t allocator_arg = allocator_arg_t();
C++11
constexpr allocator_arg_t allocator_arg = allocator_arg_t();
它用作某些类的构造函数的第一个参数,以指定下一个参数是分配器对象。
以下是 std::allocator 函数的声明。
constexpr allocator_arg_t allocator_arg = allocator_arg_t();
constexpr allocator_arg_t allocator_arg = allocator_arg_t();
