boostorg / boostorg/stacktrace

`std::formatter` specialization

未关闭
#233 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
494
派生
86
平均合并
8 天 20 小时
30 天内合并 PR
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#
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

从链接的 Compiler Explorer 示例开始,将其当前输出与 std::stacktrace 提供的格式化行为进行比较。追踪库中现有的 stacktrace 格式化入口点,然后验证 std::formatter 特化能够为该示例生成等效的格式化输出。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。