Alias template parameter to a private function
Sebastien Alaiwan via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 29 14:28:26 PDT 2017
On Thursday, 29 June 2017 at 20:21:13 UTC, Ali Çehreli wrote:
> A workaround is to use a lambda:
>
> filter!(a => isValid(a))(array)
Thanks! Nice trick, this is definitely going into my company's
codebase :-)
> Such limitations are pretty annoying. There were a number of
> similar issues in recent dmd releases. Please file a bug if
> it's not already there:
Thanks, will do!
More information about the Digitalmars-d-learn
mailing list