Created
November 16, 2015 13:18
-
-
Save sgkim126/2dd8749f34f1f323ec13 to your computer and use it in GitHub Desktop.
enum class with underlying type
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
enum class Flag: unsigned int { | |
Flag1 = 0x7FFFFFFF, | |
Flag2, | |
Flag3 = 0xFFFFFFFF | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment