On Sat, Jul 12, 2014 at 03:03:12PM +0000, Peter Alexander via Digitalmars-d 
wrote:
> http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/
> 
> I can relate to this. I don't use classes much in D, but I find it
> frustrating that you need to reach to std.typecons.Rebindable for what
> I would consider to be a more common usage of const with classes.
> 
> I really feel that a mutable reference to a const object should be
> expressible in the core language.

+1. This also adversely affects generic code. As soon as you have a
const in there, things break. We badly, badly, need tail-const.


T

-- 
Let X be the set not defined by this sentence...

Reply via email to