MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / json_ref

Method json_ref

Source/Utils/json.hpp:12531–12535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12529 using value_type = BasicJsonType;
12530
12531 json_ref(value_type&& value)
12532 : owned_value(std::move(value))
12533 , value_ref(&owned_value)
12534 , is_rvalue(true)
12535 {}
12536
12537 json_ref(const value_type& value)
12538 : value_ref(const_cast<value_type*>(&value))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected