What is "FilterResult" type?

Bahman Movaqar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 8 02:48:33 PDT 2015


 From what I can gather the output of `std.algorithm.iteration : 
filter` is a `FilterResult` type.
I need a bit of help dealing with this type:
   1. Why this type is there in the first place instead of simply 
using the type of input range?
   2. Where is the documentation for this type?  The documentation 
always uses `auto` for `filter` return values.
   3. How can I convert this type back into a range?

Thanks.


More information about the Digitalmars-d-learn mailing list