MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / ~basic_json

Function ~basic_json

lesson6-Segmentation/json.hpp:18695–18699  ·  view source on GitHub ↗

! @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 */

Source from the content-addressed store, hash-verified

18693 @since version 1.0.0
18694 */
18695 ~basic_json() noexcept
18696 {
18697 assert_invariant();
18698 m_value.destroy(m_type);
18699 }
18700
18701 /// @}
18702

Callers

nothing calls this directly

Calls 1

assert_invariantFunction · 0.85

Tested by

no test coverage detected