[stacktrace.basic.nonmem]
19 Diagnostics library [diagnostics]
19.6.4 Class template basic_stacktrace [stacktrace.basic]
19.6.4.6 Non-member functions [stacktrace.basic.nonmem]
template<class Allocator>
void swap(basic_stacktrace<Allocator>& a, basic_stacktrace<Allocator>& b)
noexcept(noexcept(a.swap(b)));
Effects: Equivalent to a.swap(b).
string to_string(const stacktrace_entry& f);
Returns: A string with a description of f.
Recommended practice: The description should provide information about the contained evaluation, including information from f.source_file() and f.source_line().
template<class Allocator>
string to_string(const basic_stacktrace<Allocator>& st);
Returns: A string with a description of st.
ostream& operator<<(ostream& os, const stacktrace_entry& f);
Effects: Equivalent to: return os << to_string(f);
template<class Allocator>
ostream& operator<<(ostream& os, const basic_stacktrace<Allocator>& st);
Effects: Equivalent to: return os << to_string(st);