|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Observers | ||||
| Query | ||||
| Non-member functions | ||||
| Helper classes | ||||
formatter<std::stacktrace_entry> |
Defined in header <stacktrace> | ||
template<> struct formatter<std::stacktrace_entry>; | (since C++23) | |
The template specialization ofstd::formatter forstd::stacktrace_entry allows users to convert a stacktrace entry object to string usingformatting functions such asstd::format.
The syntax of format specifications is:
| fill-and-align (optional)width (optional) | |||||||||
fill-and-align andwidth have the same meaning as instandard format specification.
The formatted output matches the result ofto_string, adjusted as appropriate for the format specifiers.
| This section is incomplete Reason: no example |
(C++20) | defines formatting rules for a given type (class template)[edit] |
(C++23) | prints tostdout or a file stream usingformatted representation of the arguments (function template)[edit] |