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

Class exception_data

src/from_exception.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22};
23
24struct exception_data {
25 bool capture_stacktraces_at_throw = true;
26 unsigned count = 0;
27 thrown_info* info = nullptr;
28
29 ~exception_data() noexcept {
30 HANDLE hHeap = GetProcessHeap();
31 for (unsigned i = 0; i < count; ++i) {
32 HeapFree(hHeap, 0, info[i].dump);
33 }
34 HeapFree(hHeap, 0, info);
35 }
36};
37
38thread_local exception_data data;
39

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected