Allocator构造函数和析构函数
功能说明
Allocator构造函数和析构函数。
函数原型
1 2 3 4 | Allocator() = default virtual ~Allocator() = default Allocator(const Allocator &) = delete Allocator &operator=(const Allocator &) = delete |
参数说明
无
返回值说明
无
约束说明
纯虚类需要用户派生。
父主题: Allocator
Allocator构造函数和析构函数。
1 2 3 4 | Allocator() = default virtual ~Allocator() = default Allocator(const Allocator &) = delete Allocator &operator=(const Allocator &) = delete |
无
无
纯虚类需要用户派生。