MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / moved_or_copied

Method moved_or_copied

3rd/json/include/nlohmann/json.hpp:9396–9403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9394 ~json_ref() = default;
9395
9396 value_type moved_or_copied() const
9397 {
9398 if (is_rvalue)
9399 {
9400 return std::move(*value_ref);
9401 }
9402 return *value_ref;
9403 }
9404
9405 value_type const& operator*() const
9406 {

Callers 2

basic_jsonFunction · 0.80
push_backFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected