Why do we have transitive const, again?

Jerry Quinn jlquinn at optonline.net
Fri Sep 23 19:47:52 PDT 2011


Adam D. Ruppe Wrote:

> IMO immutable has taken a step *backward* a few releases ago,
> and that's about all I've thought about it.
> 
> immutable string a = "lol";
> 
> auto b = replace(a, "lol", "rofl"); // used to work, now doesn't.

This works for me in 2.055.

Jerry



More information about the Digitalmars-d mailing list