boost::units::quantity should be trivial
还没有人认领这个 Issue。
评估
调研方向
未指定源文件或测试。首先定位 boost::units::quantity 的实现及其构造函数和赋值运算符,然后查看讨论,以确定平凡性是否是已达成共识的要求。项目确定了设计,并且相应行为已由测试覆盖,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I think boost::units::quantity<> should be as trivial as possible.
Right now they are not ( std::is_trivial_v is false ) because of more-or-less superfluous implementations of constructors and assignment operators. The internally asserted layout compatibilities have no meaning for users of the class.
I do not really have a strong argument for making them trivial but have a strong gut feeling they should be (for users at least).
- 主要语言
- C++
- 星标
- 39
- 派生
- 61
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/units 的其他 Issue
-
难度 5/5 一周以上 新手友好度 12/100
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
noexcept support未关闭
难度 4/5 3-5 天 新手友好度 42/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
DarkCastleMUD/DarkCastle#283 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
-
-priority- blocked good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
scribe-org/Scribe-Android#761 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
Bug Testing
难度 2/5 1-3 小时 新手友好度 78/100
SCIInstitute/SCIRun#2931 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 5 天内回复