Commit Graph

24 Commits

Author SHA1 Message Date
Lynix c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix 57958056d6 Core/Flags: Add Set method 2019-11-09 13:53:29 +01:00
Lynix a4bff0968b Core/Flags: Add Clear methods 2019-11-09 13:37:40 +01:00
Lynix 9576e2794d Core/Flags: Fix bitfield type selection 2019-10-15 18:09:34 +02:00
Lynix 49d59d93d8 Revert "Core/Flags: Make operators |= &= and ^= constexpr"
This reverts commit a363ae312f.
2018-08-03 23:56:52 +02:00
Lynix a363ae312f Core/Flags: Make operators |= &= and ^= constexpr 2018-08-03 20:26:44 +02:00
Jérôme Leclercq 74773e9daa Core/Flags: Add operator&|^ for enum and flags 2018-05-16 15:54:55 +02:00
Lynix b6bbf82d97 Core/Flags: Fix bit shift on integers 2018-01-20 14:19:05 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Jérôme Leclercq aa623a4933 Core/Flags: Add Test method 2017-11-22 12:58:56 +01:00
Jérôme Leclercq 54faabcc33 Core/Flags: Allow explicit operator conversion to any integer type of the same size (or greater size) than the internal size 2017-11-22 12:58:17 +01:00
Jérôme Leclercq 3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +01:00
Lynix dfc441c2fc Core/Flags: Rename DetailFlagOperators to FlagsOperators
In case a user would need to use it
2017-06-20 06:57:57 +02:00
Jérôme Leclercq b7df3bd1c4 Core/Flags: Try some hack to fix compilation 2017-06-06 18:08:36 +02:00
Jérôme Leclercq 184a970b72 Fix all flags.. 2017-06-06 16:50:09 +02:00
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