定义容器类模板 scoped_allocator。
语法
#include <scoped_allocator>
运算符
| 运算符 | 说明 |
|---|---|
| operator!= | 测试运算符左侧的 scoped_allocator 对象是否不等于右侧的列表对象。 |
| operator== | 测试运算符左侧的 scoped_allocator 对象是否等于右侧的列表对象。 |
类
| 类 | 说明 |
|---|---|
| scoped_allocator_adaptor 类 | 封装一个或多个分配器嵌套的类模板。 |
<scoped_allocator>定义容器类模板 scoped_allocator。
#include <scoped_allocator>
| 运算符 | 说明 |
|---|---|
| operator!= | 测试运算符左侧的 scoped_allocator 对象是否不等于右侧的列表对象。 |
| operator== | 测试运算符左侧的 scoped_allocator 对象是否等于右侧的列表对象。 |
| 类 | 说明 |
|---|---|
| scoped_allocator_adaptor 类 | 封装一个或多个分配器嵌套的类模板。 |