DIP61: redone to do extern(C++,N) syntax

Timon Gehr via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 08:47:28 PDT 2014


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'.)


More information about the Digitalmars-d mailing list