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

Class decrement_on_destroy

src/from_exception.cpp:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175constexpr std::size_t kStacktraceDumpSize = 4096;
176
177struct decrement_on_destroy {
178 std::size_t& to_decrement;
179
180 ~decrement_on_destroy() { --to_decrement; }
181};
182
183#if !BOOST_STACKTRACE_ALWAYS_STORE_IN_PADDING
184// Inspired by the coursework by Andrei Nekrashevich in the `libsfe`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected