MCPcopy Create free account
hub / github.com/SsageParuders/Android_Native_Surface / assert_invariant

Function assert_invariant

my_libhv/cpputil/json.hpp:17710–17716  ·  view source on GitHub ↗

! @brief checks the class invariants This function asserts the class invariants. It needs to be called at the end of every constructor to make sure that created objects respect the invariant. Furthermore, it has to be called each time the type of a JSON value is changed, because the invariant expresses a relationship between @a m_type and @a m_value. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

basic_jsonFunction · 0.85
json.hppFile · 0.85
~basic_jsonFunction · 0.85
operator[]Function · 0.85
eraseFunction · 0.85
push_backFunction · 0.85
emplace_backFunction · 0.85
emplaceFunction · 0.85
updateFunction · 0.85
swapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected