1.8 KiB
[stacktrace.syn]
19 Diagnostics library [diagnostics]
19.6 Stacktrace [stacktrace]
19.6.2 Header synopsis [stacktrace.syn]
#include // see [compare.syn]namespace std {// [stacktrace.entry], class stacktrace_entryclass stacktrace_entry; // [stacktrace.basic], class template basic_stacktracetemplateclass basic_stacktrace; // basic_stacktrace typedef-namesusing stacktrace = basic_stacktrace<allocator<stacktrace_entry>>; // [stacktrace.basic.nonmem], non-member functionstemplatevoid swap(basic_stacktrace& a, basic_stacktrace& b)noexcept(noexcept(a.swap(b)));
string to_string(const stacktrace_entry& f); template string to_string(const basic_stacktrace& st);
ostream& operator<<(ostream& os, const stacktrace_entry& f); template ostream& operator<<(ostream& os, const basic_stacktrace& st); // [stacktrace.format], formatting supporttemplate<> struct formatter<stacktrace_entry>; template struct formatter<basic_stacktrace>; namespace pmr {using stacktrace = basic_stacktrace<polymorphic_allocator<stacktrace_entry>>; }// [stacktrace.basic.hash], hash supporttemplate struct hash; template<> struct hash<stacktrace_entry>; template struct hash<basic_stacktrace>;}