Choice ranges?

bearophile bearophileHUGS at lycos.com
Fri Mar 28 13:46:09 PDT 2014


H. S. Teoh:

> So how would I implement something like this?

One option is to wrap those ranges in classes. See std.range for 
the adapters. (I have not used them yet).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list