Create array from range
Greg Strong
mageofmaple at protonmail.com
Sat Oct 9 23:58:14 UTC 2021
This should be a simple question, but I'm having difficult
finding an answer. How do I filter some elements of an array
into a new array? The filter! function returns a range, but I
can't seems to assign it to a new array. I get:
Cannot implicitly convert expression of type
FilterResult!(__lambda10 ...
Nothing I try to construct a new array seems to work.
More information about the Digitalmars-d-learn
mailing list