extern(C++, ns)

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 19 16:49:03 PST 2016


On Tuesday, 19 January 2016 at 20:29:42 UTC, David Nadlinger 
wrote:
> While I am not in the mood for mudslinging or making a heated 
> discussion out of this, I have to agree with Daniel and Manu 
> here. If I remember correctly, you never really provided any 
> justification (including during the original discussion back 
> when the feature was introduced) as to why just using the 
> normal means of name resolution and disambiguation in D – the 
> module system – is not good enough for this.
>
> It's fine if you just say "I had a hunch that the added 
> complexity would be worth it by making some situations more 
> convenient, even though I can't provide a concrete example". Of 
> course that might not be particularly persuasive, but it's your 
> call in the end. But if you keep dodging the question, this 
> discussion will never come to an end.
>
>  — David

Isn't the fact that this is what they do in C++ good enough ? I 
mean, if it wasn't a desirable feature, the C++ code writer would 
probably not have used it.



More information about the Digitalmars-d mailing list