Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetKey
Method
GetKey
libs/base/bidirectional_map.hpp:66–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
bool GetKey(V const & value, K & key) const
67
{
68
auto const it = m_vToK.find(value);
69
if (it == m_vToK.cend())
70
return false;
71
key = it->second;
72
return true;
73
}
74
75
protected:
76
using Key = K;
Callers
4
GetFeatureID
Method · 0.45
UNIT_TEST
Function · 0.45
AcceptMessage
Method · 0.45
AcceptMessage
Method · 0.45
Calls
2
find
Method · 0.45
cend
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.36