std::formatter<std::stacktrace_entry>
From cppreference.com
< cpp | utility | stacktrace entry
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Diagnostics library
(until C++20*)
(C++17)(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Exception handling failures
(C++11)
(until C++17*)
(until C++17*)
(until C++17*)
(until C++17*)
(TM TS)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++26)
(C++26)
(C++26)
std::stacktrace_entry
formatter<std::stacktrace_entry>
Defined in header
<stacktrace>
template<>
struct formatter<std::stacktrace_entry >;
(since C++23)
struct formatter<std::stacktrace_entry >;
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.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example