Skip to content

Instantly share code, notes, and snippets.

@sgkim126
Created November 16, 2015 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgkim126/5c10d61ddcd6d26cce85 to your computer and use it in GitHub Desktop.
Save sgkim126/5c10d61ddcd6d26cce85 to your computer and use it in GitHub Desktop.
enum with namespace to avoid enumerator name duplication
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