Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ current_id
Function
current_id
include/boost/leaf/error.hpp:584–589 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
582
namespace detail
583
{
584
inline int current_id() noexcept
585
{
586
unsigned id = tls::read_current_error_id();
587
BOOST_LEAF_ASSERT(id == 0 || (id&3) == 1);
588
return int(id);
589
}
590
591
inline int new_id() noexcept
592
{
Callers
5
main
Function · 0.85
generate_ids
Function · 0.85
current_error
Function · 0.85
check_id
Method · 0.85
get_id
Method · 0.85
Calls
1
read_current_error_id
Function · 0.50
Tested by
2
main
Function · 0.68
generate_ids
Function · 0.68