Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ new_id
Function
new_id
include/boost/leaf/error.hpp:591–596 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
589
}
590
591
inline int new_id() noexcept
592
{
593
unsigned id = tls::generate_next_error_id();
594
tls::write_current_error_id(id);
595
return int(id);
596
}
597
598
inline int start_new_error() noexcept
599
{
Callers
4
generate_ids
Function · 0.85
start_new_error
Function · 0.85
check_id
Method · 0.85
get_id
Method · 0.85
Calls
2
generate_next_error_id
Function · 0.50
write_current_error_id
Function · 0.50
Tested by
1
generate_ids
Function · 0.68