flags type-safe and non-intrusive bitwise-operators for C++ enums presentation at C++-Now 2024 not online yet, patience please... slides from presentation at C++-Now 2024 read the docs example on Godbolt compiler explorer