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

Method moved_or_copied

Source/Utils/json.hpp:12564–12571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12562 ~json_ref() = default;
12563
12564 value_type moved_or_copied() const
12565 {
12566 if (is_rvalue)
12567 {
12568 return std::move(*value_ref);
12569 }
12570 return *value_ref;
12571 }
12572
12573 value_type const& operator*() const
12574 {

Callers 2

basic_jsonFunction · 0.80
push_backFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected