Skip to content

Instantly share code, notes, and snippets.

@Qix-
Created November 28, 2021 11:29
Show Gist options
  • Save Qix-/871c53e0c11be8d879c70e127b5453f8 to your computer and use it in GitHub Desktop.
Save Qix-/871c53e0c11be8d879c70e127b5453f8 to your computer and use it in GitHub Desktop.
struct Bar {
enum Foo {
A = 1,
B = 2,
C = 4
};
};
using B = Bar;
int main() {
using enum B::Foo;
int f = (A|B|C);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment