-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
We've still got plenty of time, but std::byte could be a pretty convenient way to initialize a gray_code by just stealing its bits. It may be better than the current two-phase initialization with gray_code<unsigned> g; g.value = 0b01101;.
Too bad it's only one byte and note an arbitrary number of bits though.