Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-08 | Endian: constexpr constructors and conversion operators | Lenny Maiorani | |
Problem: - Constructors and conversion operators are not `constexpr`, but they can be. - `constexpr` is needed here so that other classes can add `constexpr` evaluation. Solution: - Add the `constexpr` keyword to the constructors and conversion operators. - Add `static_assert` tests which ensure the capability works. |