MCPcopy Create free account
hub / github.com/Snapchat/Valdi / make

Method make

valdi_core/src/valdi_core/cpp/Utils/ValueArray.hpp:57–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 static Ref<ValueArray> make(const Value* begin, const Value* end);
56
57 static Ref<ValueArray> make(std::initializer_list<Value> values) {
58 auto array = ValueArray::make(values.size());
59
60 array->copy(values.begin(), values.end());
61
62 return array;
63 }
64
65 static Ref<ValueArray> make(std::vector<Value>&& values) {
66 auto array = ValueArray::make(values.size());

Callers

nothing calls this directly

Calls 5

copyMethod · 0.65
endMethod · 0.65
sizeMethod · 0.45
beginMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected