MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / json_ref

Method json_ref

lesson6-Segmentation/json.hpp:12532–12536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected