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