boostorg / boostorg/stacktrace

`std::formatter` specialization

オープン
#233 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
494
フォーク
86
平均マージ
8日 20時間
マージ済み PR(30日)
3

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。