boostorg / boostorg/program_options

More robust common_config_file_iterator

未关闭
#67 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
136
派生
117
PR 合并指标
30 天内没有已合并 PR

描述

common_config_file_iterator::common_config_file_iterator has a little problem: One of the args is std::set, which is incompatible between libc++ and libstdc++. As a result, the function, if compiled with {GCC, Clang}, is incompatible with {Clang, GCC). This can be fixed without breaking anything by moving it to the header part and declaring it static. What are your opinions about it?

贡献指南

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

调研方向

定位 common_config_file_iterator 的声明和定义,然后检查其 std::set 参数如何跨越编译接口。比较使用 GCC 和 Clang 的构建,并验证将实现移到 header 中并将其声明为 static 能够保持兼容性。当迭代器可以在这些编译器组合中使用且不会出现报告的不兼容问题时,即视为完成。

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

评估

技术栈
cpp
领域
cli, compilers
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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