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

Reply via email to