MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / has

Method has

include/common/StrKeyMap.h:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 map_.clear();
42 }
43 bool has(const std::string &key) const {
44 return map_.find(key) != map_.end();
45 }
46
47 void insert(const std::pair<std::string, V> &p) {
48 map_.insert(p);

Calls 1

endMethod · 0.45

Tested by

no test coverage detected