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

Function start_array

Source/external/json.hpp:6829–6839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6827 }
6828
6829 bool start_array(std::size_t len)
6830 {
6831 ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
6832
6833 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
6834 {
6835 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back()));
6836 }
6837
6838 return true;
6839 }
6840
6841 bool end_array()
6842 {

Callers

nothing calls this directly

Calls 3

createFunction · 0.85
concatFunction · 0.85
to_stringFunction · 0.70

Tested by

no test coverage detected