KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
A using declaration does not seem to work with an enum type: class Sample{ public: enum Colour {RED, BLUE, GREEN}; } using Sample::Colour; does not work! Do we need to add a using declaration for every enumerators of enum type? Like below: using sample::Colour::RED;
Tags (comma-separated)
Save Edits
Cancel