~albaguirre/mir/fix-1427976

Viewing all changes in revision 2352.

  • Committer: Tarmac
  • Author(s): Andreas Pokorny
  • Date: 2015-03-02 10:21:16 UTC
  • mfrom: (2256.2.11 mir-flags-utility)
  • Revision ID: tarmac-20150302102116-9xleypphxaogfw7d
Adds mir::Flags to common headers.

mir::Flags is a utility to allow treating the type safe scoped enums as a set of masks or bit flags that can be combined in a type safe way. mir::Flags also works with normal enumerations. Additionally it provides utilities to print enumeration values as strings. For that purpose two variadic macros are provided.
.

Approved by Chris Halse Rogers, PS Jenkins bot, Cemil Azizoglu, Robert Carr.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: