If an enum declared in a namespace is defined outside the namespace, are its enumeration values externally visible?
I think scoped enumerations are too restrictive so I have always used this method, but I found out today that it cause naming pollution in CLANG. What does the standard say about visibility?
If an enum declared in a namespace is defined outside the namespace, are its enumeration values externally visible?
I think scoped enumerations are too restrictive so I have always used this method, but I found out today that it cause naming pollution in CLANG. What does the standard say about visibility?