MCPcopy Create free account
hub / github.com/boostorg/leaf / write_current_error_id

Function write_current_error_id

include/boost/leaf/config/tls_array.hpp:127–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 }
126
127 BOOST_LEAF_ALWAYS_INLINE void write_current_error_id( unsigned x ) noexcept
128 {
129 static_assert(sizeof(std::intptr_t) >= sizeof(unsigned), "Incompatible tls_array implementation");
130 write_void_ptr(BOOST_LEAF_CFG_TLS_ARRAY_START_INDEX, (void *) (std::intptr_t) x);
131 }
132
133 BOOST_LEAF_ALWAYS_INLINE unsigned read_current_error_id() noexcept
134 {

Callers 4

unloadFunction · 0.50
new_idFunction · 0.50
~exceptionMethod · 0.50
unloadMethod · 0.50

Calls 1

write_void_ptrFunction · 0.70

Tested by

no test coverage detected