Commit Graph

9 Commits

Author SHA1 Message Date
Lynix 7cc11245f9 Core/Flags: Move external operators to the global scope
Fixes usage of those operators outside of the Nz namespace, global
scoping is not an issue thanks to the enable_if
2017-02-15 07:13:00 +01:00
Lynix 1d6f22cd8a Core/Flags: Make Flags default-constructible 2017-01-27 14:49:07 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix cb447e4db7 Core/Flags: Add assertion in case EnumAsFlags has not been specialized 2016-12-12 15:12:34 +01:00
Lynix e98a02b190 Core/Flags: Allow handling of more than 32 enum options 2016-12-12 15:12:15 +01:00
Lynix 876fec6f5e Core/Flags: Make aware of enumeration max value
Preventing it to enable bits that have no corresponding enum value
2016-12-12 15:10:37 +01:00
Lynix e9061a6cf8 Core/Flags: Rename EnableFlagsOperators to EnumAsFlags 2016-12-12 15:07:16 +01:00
Lynix 1a5617bc55 Lua/LuaInstance: Add conversion operator to UInt32 2016-11-27 13:21:04 +01:00
Lynix 0070e691b0 Core: Add Flags class 2016-11-27 02:22:07 +01:00