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

Method emplace

valdi_core/src/valdi_core/cpp/Utils/ValueArray.cpp:116–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void ValueArray::emplace(size_t index, Value&& value) {
117 (*this)[index] = std::move(value);
118}
119
120void ValueArray::emplace(size_t index, const Value& value) {
121 (*this)[index] = value;

Callers 15

marshallMethod · 0.45
insertStringMethod · 0.45
appendMethod · 0.45
toArrayMethod · 0.45
setArrayItemMethod · 0.45
toStringMethod · 0.45
jsonValueToValueFunction · 0.45
marshallVectorFunction · 0.45
fillPointerDataFunction · 0.45
insertTaskMethod · 0.45
toValueFunction · 0.45
getEntriesMethod · 0.45

Calls

no outgoing calls

Tested by 2

serializeTestCasesFunction · 0.36
TESTFunction · 0.36