Closed Bug 1216038 Opened 5 years ago Closed 5 years ago
Enumerated Range's Int Type template parameter
In the one argument version of MakeEnumeratedRange, we can eliminate the IntType template parameter and just deduce how big of an integer type we need for the given EnumType. Since we're interating from EnumType(0), we know that it's safe to use an unsigned integer type. (In the future when we can rely on std::underlying_type, we won't need the IntType parameter for the other MakeEnumeratedRange overload, either.)
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #8675508 - Flags: review?(nfroyd)
Attachment #8675508 - Flags: review?(nfroyd) → review+
You need to log in before you can comment on or make changes to this bug.