MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / InsertIfNotPresent

Function InsertIfNotPresent

external/sentencepiece/src/util.h:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237
238template <class Collection>
239bool InsertIfNotPresent(Collection *const collection,
240 const typename Collection::value_type &vt) {
241 return collection->insert(vt).second;
242}
243
244template <class Collection>
245bool InsertIfNotPresent(

Callers 2

InsertOrDieFunction · 0.85
InitializePiecesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected