boostorg / boostorg/stacktrace

`std::formatter` specialization

Open
#233 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
494
Forks
86
Avg merge
8d 20h
Merged PRs (30d)
3

Description

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#
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.