A look inside "filter" function defintion

Andrey Zherikov andrey.zherikov at gmail.com
Tue Aug 2 13:11:41 UTC 2022

On Monday, 1 August 2022 at 23:35:13 UTC, pascal111 wrote:
> I think this line needs explanation:
> '''D
> return FilterResult!(unaryFun!predicate, Range)(range);
> '''

Create an object of type `FilterResult!(unaryFun!predicate, 
Range)` by passing `range` to its ctor, then return that object.

More information about the Digitalmars-d-learn mailing list