Request for a more powerful template specialization feature
jmh530 via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 17 05:29:41 PDT 2017
On Friday, 14 July 2017 at 19:49:05 UTC, Andrei Alexandrescu
wrote:
>
> An effective way of improving the state of affairs would be to
> create a PR that makes the constraint easier to read and write,
> e.g.:
>
> among!(R, double, int) && among!(W, string, char, dchar)
>
> In fact it's surprising it hasn't been proposed yet.
>
> Andrei
Forgive me, but what about anySatisfy
https://dlang.org/library/std/meta/any_satisfy.html
More information about the Digitalmars-d
mailing list