Created
November 16, 2015 14:36
-
-
Save sgkim126/5c10d61ddcd6d26cce85 to your computer and use it in GitHub Desktop.
enum with namespace to avoid enumerator name duplication
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
namespace IO { | |
enum Result { | |
Error, | |
Ok | |
}; | |
} | |
namespace Parse { | |
enum Result { | |
Error, | |
Ok | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment