Head Const

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 15 17:04:44 PST 2016


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.


>> 2. supports single assignment style of programming, even if the data is
>> otherwise mutable
> Like 'final'?  We did get rid of that...

Maybe we should resurrect it.


More information about the Digitalmars-d mailing list