MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / start_array

Method start_array

dependencies/json/json.hpp:5489–5500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5487 }
5488
5489 bool start_array(std::size_t len)
5490 {
5491 ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
5492
5493 if (JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) && len > ref_stack.back()->max_size()))
5494 {
5495 JSON_THROW(out_of_range::create(408,
5496 "excessive array size: " + std::to_string(len)));
5497 }
5498
5499 return true;
5500 }
5501
5502 bool end_array()
5503 {

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.85
createFunction · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected