Head Const

rsw0x via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 15 20:11:30 PST 2016


On Tuesday, 16 February 2016 at 01:04:44 UTC, Walter Bright wrote:
> On 2/15/2016 4:15 PM, Daniel Murphy wrote:
>>> 1. make it easy to interface to C++ code that uses const, as 
>>> currently
>>> it is not very practical to do so, you have to resort to 
>>> pragma(mangle)
>> I'd much rather improve pragma(mangle) than add more C++ 
>> features to D.
>
> It's currently difficult to interface with C++, and always will 
> be, but smoothing out what we can can be a big opportunity for 
> D.

Hmm, I wonder if Stroustrup said something similar.


More information about the Digitalmars-d mailing list