Should an 'extern(C++, "ns"):' override previous ones in the same scope?

Max Samukha maxsamukha at gmail.com
Sun Sep 8 10:08:55 UTC 2019


On Sunday, 8 September 2019 at 09:35:03 UTC, Jonathan M Davis 
wrote:

> The C++ support has been improved kind of piecemeal over time, 
> and initially, none of it was documented. So, it wasn't exactly 
> fully planned out when it was added. IIRC, it was added 
> originally so that the dmd frontend could be moved to D. The 
> DIP process was very different at that point, and it was much 
> more common then for Walter or one of the other core developers 
> to just propose a feature in a PR and get it merged. I expect 
> that the oddities in the implementation stem from stuff that 
> whoever implemented it didn't think to try. The whole process 
> is much more rigorous now than it used to be.
>
> - Jonathan M Davis

Good to know, thank you.


More information about the Digitalmars-d-learn mailing list