y3c-stl 0.3.3
Friendly C++ STL wrapper with automatic stacktrace
|
y3cの例外クラスのベース。 More...
#include <y3c/terminate.h>
Public Member Functions | |
exception_base (const char *e_class, std::string &&func, std::string &&what, skip_trace_tag={}) | |
exception_base (const exception_base &)=delete | |
exception_base & | operator= (const exception_base &)=delete |
exception_base (exception_base &&other) | |
exception_base & | operator= (exception_base &&)=delete |
~exception_base () | |
Static Public Attributes | |
static std::atomic< int > | last_exception_id |
static std::unordered_map< int, terminate_detail > | exceptions |
Protected Attributes | |
std::string | what |
y3cの例外クラスのベース。
スタックトレースや例外の詳細をコンストラクタでstatic変数に保存し、 what() は通常の例外と同様短いメッセージを返す。
|
inline |
|
delete |
|
inline |
|
inline |
|
delete |
|
delete |
|
static |
|
static |
|
protected |