On 4/26/2014 4:59 PM, Andrei Alexandrescu wrote:
On 4/26/14, 4:32 PM, Walter Bright wrote:
Since the namespace keyword doesn't seem to be gaining much traction, an
alternative syntax would be:
extern (C++, N.M) { void foo(); }
which would be semantically equivalent to the previous:
extern (C++) namespace N { namespace M { void foo(); }}
Noice. Would the user call it with N.M.foo() or just foo()? -- Andrei
Either. The former if there is more than one foo() found by name lookup. Just
like for imports.