Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gecode/gecode
/ put
Method
put
gecode/flatzinc/symboltable.hh:55–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
54
template<class Val>
55
bool
56
SymbolTable<Val>::put(const std::string& key, const Val& val) {
57
const auto& i = m.find(key);
58
bool fresh = (i == m.end());
59
m[key] = val;
60
return fresh;
61
}
62
63
template<class Val>
64
bool
Callers
2
yyparse
Function · 0.45
archive
Method · 0.45
Calls
2
find
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected