Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ PopFront
Method
PopFront
libs/base/linked_map.hpp:31–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
}
30
31
void PopFront()
32
{
33
CHECK(!m_map.empty(), ());
34
m_map.erase(m_list.front().first);
35
m_list.pop_front();
36
}
37
38
bool Erase(KeyType const & key)
39
{
Callers
2
ProcessTasks
Method · 0.45
UNIT_TEST
Function · 0.45
Calls
3
front
Method · 0.80
empty
Method · 0.45
erase
Method · 0.45
Tested by
1
UNIT_TEST
Function · 0.36