forked from boostorg/regex
Prevent left shifting by more bits than there are in type unsigned, and Check that alternative points to a valid state before accessing it: we may not have constructed that state yet in a fail situation.
Prevent left shifting by more bits than there are in type unsigned, and Check that alternative points to a valid state before accessing it: we may not have constructed that state yet in a fail situation.