filtering a row of a jagged array

ag0aep6g anonymous at example.com
Sun Aug 11 16:34:43 UTC 2019


On 11.08.19 18:11, DanielG wrote:
> auto x = whatever[2].filter(x => x > 7); // error

You just forgot an exclamation mark here.

auto x = whatever[2].filter!(x => x > 7); // works


More information about the Digitalmars-d-learn mailing list