Specifying C++ symbols in C++ namespaces

Daniel Kozak kozzi11 at gmail.com
Thu Apr 3 12:49:05 PDT 2014


On Thursday, 3 April 2014 at 19:44:02 UTC, Walter Bright wrote:
> 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!

Ok, just an idea :)


More information about the Digitalmars-d mailing list