If you're trying to save space for a lot of flags, why not use a bitmap instead?