sortUniq

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Fri Jan 23 07:22:22 PST 2015


zeljkog:

> Loosely-related, compiling
>
> ...
> auto ret = arr.filter!(myFilter());
> ...
>
> I got:
>
> Error: closures are not yet supported in CTFE
>
> Using struct with opCall directly also does not pass.
>
> Did I miss something?
> Is it near?

Please show a minimal nonworking example in the D.learn newsgroup.

Bye,
bearophile


More information about the Digitalmars-d mailing list