vector向量get_allocator()函数运用实例

get_allocator函数

语法:

get_allocator() 返回vector的内存分配器

源代码

测试代码

测试结果: