getting rid of immutable (or const)

berni someone at somewhere.com
Thu Sep 5 08:56:42 UTC 2019


On Thursday, 5 September 2019 at 08:44:35 UTC, berni wrote:
> This doesn't compile:
>
> [...]
>
> Any idea, how to get around this?

Found the answer myself: q.map!(a=>a.x).minElement; :-)




More information about the Digitalmars-d-learn mailing list