---
title: 构造函数
description: "RuntimeAttrs类的构造函数。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/basicdataapi/atlasopapi_07_00137.html
sourcePath: /source/zh/canncommercial/900/maintenref/basicdataapi/atlasopapi_07_00137.html
indexId: c2052d642f2f4ae93df39324fc135dc20795edc4838e12259ed47c20f8d8927c78
---
# 构造函数

#### 函数功能

RuntimeAttrs类的构造函数。


#### 函数原型

```
RuntimeAttrs() = delete
RuntimeAttrs(const RuntimeAttrs &) = delete
RuntimeAttrs(RuntimeAttrs &&) = delete
RuntimeAttrs &operator=(const RuntimeAttrs &) = delete
RuntimeAttrs &operator=(RuntimeAttrs &&) = delete
```


#### 参数说明

无。


#### 返回值说明

无。


#### 约束说明

POD类型，当前不允许通过调用构造函数显式构造，可通过显式申请内存构造。
