Casting non-aliased mutable arrays to immutable in return values
Nordlöw via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 29 13:53:13 PDT 2017
On Tuesday, 29 August 2017 at 16:41:48 UTC, Jonathan M Davis
wrote:
> Regardless, using assumeUnique or using a pure function to
> construct the object and implicitly convert it to immutable
> works for types in general.
>
> - Jonathan M Davis
I'm, as always, grateful for your thorough answers, Jonathan.
Thank you.
More information about the Digitalmars-d-learn
mailing list