MCPcopy Create free account
hub / github.com/USCiLab/cereal / Size

Function Size

include/cereal/external/rapidjson/document.h:1570–1570  ·  view source on GitHub ↗

Get the number of elements in array.

Source from the content-addressed store, hash-verified

1568
1569 //! Get the number of elements in array.
1570 SizeType Size() const { CEREAL_RAPIDJSON_ASSERT(IsArray()); return data_.a.size; }
1571
1572 //! Get the capacity of array.
1573 SizeType Capacity() const { CEREAL_RAPIDJSON_ASSERT(IsArray()); return data_.a.capacity; }

Callers

nothing calls this directly

Calls 1

IsArrayFunction · 0.85

Tested by

no test coverage detected