between and among: worth Phobosization?
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Mon Dec 16 14:38:19 PST 2013
On 16/12/13 22:49, Timon Gehr wrote:
> There's the issue of different possibilities for inclusive/exclusive end points.
> Maybe we want to add a template parameter taking values from
> ["[)","()","(]","[]"]. Even then it is not too clear what the default should be.
> (Probably "[)".)
That would be in line with the way that it's handled in other Phobos cases where
bounds can be open or closed at either end (e.g. std.random.uniform).
More information about the Digitalmars-d
mailing list