diff options
author | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-03-06 19:25:33 -0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-08 18:47:40 +0100 |
commit | c825159f01a6def461bdefcfdd6077554f9c8148 (patch) | |
tree | 1c64298c5bc34d46dc1dc75c4f1847249e9562a7 /Kernel/VM/Region.cpp | |
parent | dda6eb0f1f4a02efb489dada2130fc6f57db1582 (diff) | |
download | serenity-c825159f01a6def461bdefcfdd6077554f9c8148.zip |
AK: Add AK_ENUM_BITWISE_OPERATORS(..) to enable type-safe enum bitwise operations
This change introduces `AK_ENUM_BITWISE_OPERATORS(..)` which when
enabled for an enum, will automatically declare all the necessary
bitwise operators for that enum.
This allows bit masks enums to be used as first class, type safe, citizens.
Diffstat (limited to 'Kernel/VM/Region.cpp')
0 files changed, 0 insertions, 0 deletions