MCPcopy Create free account
hub / github.com/boostorg/parser / operator=

Method operator=

example/json.hpp:809–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807
808 template<typename JSONObject>
809 typename std::enable_if<detail::is_object<JSONObject>::value, value &>::type
810 value::operator=(JSONObject const & o)
811 {
812 if (is_object()) {
813 get<object>(*this) = object(o.begin(), o.end());
814 return *this;
815 }
816 return *this = value(o);
817 }
818
819 inline value & value::operator=(object && o)
820 {

Callers

nothing calls this directly

Calls 11

is_objectClass · 0.85
is_arrayClass · 0.85
is_stringClass · 0.85
fast_distance_or_1000Function · 0.85
dataMethod · 0.80
valueClass · 0.70
beginFunction · 0.50
endFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected