Created
November 28, 2021 11:29
-
-
Save Qix-/871c53e0c11be8d879c70e127b5453f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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