昇腾社区首页
中文
注册
开发者
下载

Allocator构造函数和析构函数

功能说明

Allocator构造函数和析构函数。

函数原型

1
2
3
4
Allocator() = default
virtual ~Allocator() = default
Allocator(const Allocator &) = delete
Allocator &operator=(const Allocator &) = delete

参数说明

返回值说明

约束说明

纯虚类需要用户派生。