MCPcopy 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_idsFunction · 0.85
start_new_errorFunction · 0.85
check_idMethod · 0.85
get_idMethod · 0.85

Calls 2

generate_next_error_idFunction · 0.50
write_current_error_idFunction · 0.50

Tested by 1

generate_idsFunction · 0.68