between and among: worth Phobosization? (reprise)

Tobias Pankrath via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 26 08:59:15 PDT 2015


>
> I think it would be a good addition. Would we want to allow 
> specifying the inclusion like below:
>
>     auto between(string inclusion = "[]")(int v, int a, int b) {

+1


More information about the Digitalmars-d mailing list