boostorg / boostorg/stacktrace
`std::formatter` specialization
- Vorherrschende Sprache
- C++
- Sterne
- 494
- Forks
- 86
- Ø Merge
- 8 T. 20 Std.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Please provide a `std::formatter` specialization similar to the one `std::stacktrace` provides:
https://godbolt.org/z/x3zKn6vfn
```
terminate called after throwing an instance of 'RuntimeError'
what(): Encountered error code: 139
0# RuntimeError::RuntimeError(std::basic_format_string::type>, int&&) at /app/example.cpp:16
1# h() at /app/example.cpp:23
2# g() at /app/example.cpp:28
3# f() at /app/example.cpp:33
4# main at /app/example.cpp:38
5# at :0
6# __libc_start_main at :0
7# _start at :0
8#
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start with the linked Compiler Explorer example and compare its current output with the formatting behavior provided by std::stacktrace. Trace the library's existing stacktrace formatting entry points, then verify that a std::formatter specialization produces equivalent formatted output for the example.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 52/100