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

Method clear

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

Source from the content-addressed store, hash-verified

138 std::size_t capacity() const {return elements_.capacity();}
139
140 void clear() {elements_.clear();}
141
142 void shrink_to_fit()
143 {

Callers 15

resetFunction · 0.45
clearFunction · 0.45
basic_json_optionsClass · 0.45
resetMethod · 0.45
visit_begin_objectMethod · 0.45
visit_begin_arrayMethod · 0.45
flatten_and_destroyMethod · 0.45
nextMethod · 0.45
reinitializeMethod · 0.45
resetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected