between and among: worth Phobosization?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Dec 17 10:07:57 PST 2013


On 12/17/13 6:36 AM, Marco Leise wrote:
> Now similarly I would prefer if among() could do anything else
> but shift indexes by +1.

The function as defined can be used with if (often), or can be used as 
an integral (sometimes). I like that idiom very much.

Andrei




More information about the Digitalmars-d mailing list