! @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 */
| 16500 | @since version 1.0.0 |
| 16501 | */ |
| 16502 | ~basic_json() noexcept |
| 16503 | { |
| 16504 | assert_invariant(); |
| 16505 | m_value.destroy(m_type); |
| 16506 | } |
| 16507 | |
| 16508 | /// @} |
| 16509 |
nothing calls this directly
no test coverage detected