On Fri, 23 Sep 2011 21:21:31 +0300, Mehrdad <wfunct...@hotmail.com> wrote:

Er, you answered a question about const with an answer about immutable. :\

My point is, what in the world does transitive const have to do with transitive immutable? Can't you have immutable(T) be transitive while const(T) being "normal", as in C/C++? If not, why not?

No you can't, i think you misunderstood the const in D. Without it immutable is close to worthless. You would have to implement every function for mutable and immutable.

Reply via email to