MCPcopy Create free account
hub / github.com/avast/retdec / insert

Method insert

include/retdec/utils/container.h:508–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 std::pair<Elem, bool> insert(const Elem& val) {
509 auto p = _data.insert(val);
510 return {*p.first, p.second};
511 }
512
513 bool has(const Elem& val) const {
514 return _data.find(val) != _data.end();

Callers 3

addToSetFunction · 0.45
getKeysFromMapFunction · 0.45
getValuesFromMapFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected