Head Const

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 16 18:53:54 PST 2016


On 02/17/2016 04:44 AM, Walter Bright wrote:
> Note that head const does not introduce any watering down nor
> destruction of the const/immutable/sharing type system. The main
> downside of head const would be language complexity.

Yes, I agree - it isn't like head const is bad on its own, it simply
feels unnecessary addition outside of C++ bindings for non-trivial
language complication.


More information about the Digitalmars-d mailing list