MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / CreateVectorOfSortedStructs

Function CreateVectorOfSortedStructs

Libs/flatbuffers/flatbuffers.h:2063–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2061 /// where the vector is stored.
2062 template<typename T, typename Alloc>
2063 Offset<Vector<const T *>> CreateVectorOfSortedStructs(
2064 std::vector<T, Alloc> *v) {
2065 return CreateVectorOfSortedStructs(data(*v), v->size());
2066 }
2067
2068 /// @brief Serialize a `std::vector` of native structs into a FlatBuffer
2069 /// `vector` in sorted order.

Callers

nothing calls this directly

Calls 3

CreateVectorOfStructsFunction · 0.85
dataFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected