std::formatterstd::stacktrace_entry - cppreference.com (original) (raw)
The template specialization of std::formatter for std::stacktrace_entry allows users to convert a stacktrace entry object to string using formatting functions such as std::format.
[edit] Format specification
The syntax of format specifications is:
| | | | | ------------------------------------------ | | | | fill-and-align (optional) width (optional) | | | | | | |
fill-and-align and width have the same meaning as in standard format specification.
The formatted output matches the result of to_string, adjusted as appropriate for the format specifiers.