-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the requirement for power of twos in EnumBitSet
Summary: The currenty implementation of `sparta::EnumBitSet<Enum>` requires the Enum to have values that are power of 2. This is not really necessary and makes the enum definition a bit annoying. Let's update EnumBitSet to accept enums with values from 0 to 63. Reviewed By: arnaudvenet Differential Revision: D51667840 fbshipit-source-id: 1b36badbbfff58301680faa789432949026ce062
- Loading branch information
1 parent
e26ca86
commit 3f9d7ae
Showing
1 changed file
with
34 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters