1 Feb
2023
1 Feb
'23
8:59 p.m.
On Wed Feb 1 20:45:41 2023 +0000, Gabriel Ivăncescu wrote:
It definitely depends on the surrounding code, in some cases it might be too obvious anyway, even if you see "DWORD flags", I just wanted to mention that I vastly prefer enums sometimes when I read new code full of flags, it makes it a lot easier to find out which is which—but yes in this case bool is even easier. But then you get fun things like, e. g., D3DCULL_FORCE_DWORD in enum to make those flags be 32 bit on some compilers which leaves some room for arguments, but IMO it is still a matter of preference and the local style in a particular module.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2080#note_22688