summaryrefslogtreecommitdiff
path: root/Kernel/VM/Region.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <b.gianfo@gmail.com>2021-03-06 19:25:33 -0800
committerAndreas Kling <kling@serenityos.org>2021-03-08 18:47:40 +0100
commitc825159f01a6def461bdefcfdd6077554f9c8148 (patch)
tree1c64298c5bc34d46dc1dc75c4f1847249e9562a7 /Kernel/VM/Region.cpp
parentdda6eb0f1f4a02efb489dada2130fc6f57db1582 (diff)
downloadserenity-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