9 #ifndef CPPCOMMON_SYSTEM_STACK_TRACE_MANAGER_H
10 #define CPPCOMMON_SYSTEM_STACK_TRACE_MANAGER_H
52 Impl& impl() noexcept {
return reinterpret_cast<Impl&
>(_storage); }
53 const Impl& impl() const noexcept {
return reinterpret_cast<Impl const&
>(_storage); }
55 static const size_t StorageSize = 4;
56 static const size_t StorageAlign = 1;
57 alignas(StorageAlign) std::byte _storage[StorageSize];
Singleton template base class.
StackTraceManager & operator=(const StackTraceManager &)=delete
StackTraceManager(StackTraceManager &&)=delete
StackTraceManager(const StackTraceManager &)=delete
static void Initialize()
Initialize stack trace manager.
StackTraceManager & operator=(StackTraceManager &&)=delete
static void Cleanup()
Cleanup stack trace manager.
C++ Common project definitions.