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

Method is_current_exception

include/boost/leaf/exception.hpp:102–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 mutable bool clear_current_error_;
101
102 bool is_current_exception() const noexcept
103 {
104 return tls::read_current_error_id() == unsigned(error_id::value());
105 }
106
107 error_id get_error_id() const noexcept override
108 {

Callers

nothing calls this directly

Calls 2

valueFunction · 0.70
read_current_error_idFunction · 0.50

Tested by

no test coverage detected