On 04/29/2014 02:01 PM, Steven Schveighoffer wrote:
That is what the DIP says:

"Declarations in the namespace can be accessed without qualification in
the enclosing scope if there is no ambiguity. Ambiguity issues can be
resolved by adding the namespace qualifier"

Which then  proceeds to show that only the namespace qualifier is needed
to disambiguate the symbol.

-Steve

You seem to be missing the only important statement that the DIP makes about symbol disambiguation, that follows straight after those examples:

"Name lookup rules are the same as for mixin templates."

(Maybe it should say 'named template mixins'.)

Reply via email to