From 34c86eaf119eaa842d102321b8bce6ff05f81306 Mon Sep 17 00:00:00 2001 From: terik23 Date: Thu, 25 Jul 2019 00:38:11 +0500 Subject: [PATCH] update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a4c8567..4585a05 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,7 @@ enum Color { RED = 2, BLUE = 4, GREEN = 8 }; ```cpp enum class Flags { A = 1 << 0, B = 1 << 1, C = 1 << 2, D = 1 << 3 }; using namespace magic_enum::bitwise_operators; // out-of-the-box bitwise operators for enums. + // Support operators: ~, |, &, ^, |=, &=, ^=. Flags flags = Flags::A | Flags::B & ~Flags::C; ```