MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / swap

Method swap

include/jsoncons/json_array.hpp:131–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 void swap(json_array& other) noexcept
132 {
133 elements_.swap(other.elements_);
134 }
135
136 std::size_t size() const {return elements_.size();}
137

Callers 4

check_swapFunction · 0.45
swapFunction · 0.45
visit_end_objectMethod · 0.45
visit_end_arrayMethod · 0.45

Calls

no outgoing calls

Tested by 1

check_swapFunction · 0.36