---
title: AttrValue构造函数和析构函数
description: "- 头文件：#include <graph/attr_value.h>"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0585.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0585.html
indexId: e8d12ed6a09771d6c09dda71cf670941cf2fca9a55914ff75a29d3dde816445072
---
# AttrValue构造函数和析构函数

#### 头文件

- 头文件：#include <graph/attr_value.h>
- 库文件：libgraph_base.so


#### 功能说明

AttrValue构造函数和析构函数。


#### 函数原型

```
AttrValue()
~AttrValue() = default
```


#### 参数说明

无。


#### 返回值说明

AttrValue构造函数返回AttrValue类型的对象。


#### 异常处理

无。


#### 约束说明

无。
