MCPcopy 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

582namespace 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

mainFunction · 0.85
generate_idsFunction · 0.85
current_errorFunction · 0.85
check_idMethod · 0.85
get_idMethod · 0.85

Calls 1

read_current_error_idFunction · 0.50

Tested by 2

mainFunction · 0.68
generate_idsFunction · 0.68