Boost logo

Boost :

Subject: Re: [boost] [ICL] some improvement proposals
From: Denis (comp.lib.boost.devel_at_[hidden])
Date: 2011-05-25 02:40:20


Hi Joachim.

According to wikipedia article
http://en.wikipedia.org/wiki/Interval_(mathematics)#Classification_of_intervals
we
both are wrong.
Just right_open or left_closed assume that the other end is unbounded.

> (1) I tried to consider common usage of naming of intervals that is
> known from math. There seems to tendency to assume closedness as
> default, while openness is indicated by naming:
> [x, y] an interval (also closed interval)
> [x, y) a right open interval
> (x, y] a left open interval
> (x, y) an open interval.
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk