Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FirebirdSQL/firebird
/ pop
Method
pop
extern/libcds/test/stress/stack/stack_type.h:98–107 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
96
}
97
98
bool pop( T& v )
99
{
100
unique_lock l( m_Lock );
101
if ( !m_Impl.empty()) {
102
v = m_Impl.top();
103
m_Impl.pop();
104
return true;
105
}
106
return false;
107
}
108
109
bool empty() const
110
{
Callers
nothing calls this directly
Calls
3
top
Method · 0.80
empty
Method · 0.45
pop
Method · 0.45
Tested by
no test coverage detected