Specifying C++ symbols in C++ namespaces

Walter Bright newshound2 at digitalmars.com
Thu Apr 3 12:43:59 PDT 2014


On 4/3/2014 4:06 AM, Daniel Kozák wrote:
> I think we should distinguish modules lookup from namespaces lookup.
> Something like this:
>
> A.B.foo() // call foo function from module/struct/class A and B
> #A.#B.foo // call foo function from namespaces A and B
> or
> A::B.foo // call foo function from namespaces A and B
> or
> /A/B.foo // call foo function from namespaces A and B


Please, no!


More information about the Digitalmars-d mailing list