Mir

Code review comment for lp:~andreas-pokorny/mir/flags-utility

Andreas Pokorny (andreas-pokorny) wrote :

> 53 +template<typename Enum>
> 54 +struct Flags
>
> As discussed above I don't see the need for the Flags class. What am I
> missing?

The motivation for it was to have a type to say: this variables holds a combination of the values of this enumeration, as opposed to holding one of the values of the enumeration.

« Back to merge proposal