Const-correctness and uniqueness. Again.

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 9 14:33:22 PST 2015


On Monday, 9 February 2015 at 11:38:23 UTC, Jakob Ovrum wrote:
> On Monday, 9 February 2015 at 11:37:23 UTC, Jakob Ovrum wrote:
>> std.array.join is strongly pure (with appropriate template 
>> arguments), so its return value is implicitly convertible to 
>> immutable.
>
> Err, implicitly convertible to *mutable*. It goes both ways.

Sorry, this is indeed nonsense, I take it back. It only goes one 
way.


More information about the Digitalmars-d mailing list