mirror of
https://github.com/nlohmann/json.git
synced 2024-12-17 23:57:52 +08:00
20 lines
277 B
Markdown
20 lines
277 B
Markdown
|
# basic_json::~basic_json
|
||
|
|
||
|
```cpp
|
||
|
~basic_json() noexcept
|
||
|
```
|
||
|
|
||
|
Destroys the JSON value and frees all allocated memory.
|
||
|
|
||
|
## Exception safety
|
||
|
|
||
|
No-throw guarantee: this member function never throws exceptions.
|
||
|
|
||
|
## Complexity
|
||
|
|
||
|
Linear.
|
||
|
|
||
|
## Version history
|
||
|
|
||
|
- Added in version 1.0.0.
|