
22 Jan
2025
22 Jan
'25
8:59 a.m.
This design could be worth investigation. We looked at bitfields originally, but since they require C++20 for constexpr support it wasn't worth pursuing. It seems only the member initializer is C++20 which can easily be avoided: https://godbolt.org/z/5v6sYaMj4