boost::units::quantity should be trivial
Open
- Dominant language
- C++
- Stars
- 39
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
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).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.