! @brief destructor Destroys the JSON value and frees all allocated memory. @complexity Linear. @requirement This function helps `basic_json` satisfying the [Container](https://en.cppreference.com/w/cpp/named_req/Container) requirements: - The complexity is linear. - All stored elements are destroyed and all memory is freed. @since version 1.0.0 */
| 14161 | @since version 1.0.0 |
| 14162 | */ |
| 14163 | ~basic_json() noexcept |
| 14164 | { |
| 14165 | assert_invariant(); |
| 14166 | m_value.destroy(m_type); |
| 14167 | } |
| 14168 | |
| 14169 | /// @} |
| 14170 |
nothing calls this directly
no test coverage detected