! @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.
| 18692 | @since version 1.0.0 |
| 18693 | */ |
| 18694 | ~basic_json() noexcept |
| 18695 | { |
| 18696 | assert_invariant(); |
| 18697 | m_value.destroy(m_type); |
| 18698 | } |
| 18699 | |
| 18700 | /// @} |
| 18701 |
nothing calls this directly
no test coverage detected