MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / moved_or_copied

Method moved_or_copied

Source/external/json.hpp:14726–14733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14724 ~json_ref() = default;
14725
14726 value_type moved_or_copied() const
14727 {
14728 if (value_ref == nullptr)
14729 {
14730 return std::move(owned_value);
14731 }
14732 return *value_ref;
14733 }
14734
14735 value_type const& operator*() const
14736 {

Callers 2

basic_jsonFunction · 0.80
push_backFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected