MCPcopy Create free account
hub / github.com/Gecode/gecode / get

Method get

gecode/flatzinc/symboltable.hh:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63 template<class Val>
64 bool
65 SymbolTable<Val>::get(const std::string& key, Val& val) const {
66 const auto& i = m.find(key);
67 if (i == m.end())
68 return false;
69 val = i->second;
70 return true;
71 }
72
73}}
74#endif

Callers 3

getArrayElementFunction · 0.45
getVarRefArgFunction · 0.45
yyparseFunction · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected