MCPcopy Create free account
hub / github.com/boostorg/stacktrace / current_cxx_exception_index

Function current_cxx_exception_index

src/from_exception.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53unsigned current_cxx_exception_index() noexcept {
54 if (PEXCEPTION_RECORD current_cxx_exception = _pCurrentException) {
55 for (unsigned i = data.count; i > 0;) {
56 --i;
57 if (data.info[i].object == PER_PEXCEPTOBJ(current_cxx_exception)) {
58 return i;
59 }
60 }
61 }
62 return data.count;
63}
64
65bool is_processing_rethrow(PEXCEPTION_RECORD p) noexcept {
66 // Processing flow:

Callers 2

vehFunction · 0.85

Calls 1

PER_PEXCEPTOBJFunction · 0.85

Tested by

no test coverage detected