Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-05-07 09:43:32

| On Fri, May 07, 2004 at 07:31:13PM +1000, Thorsten Ottosen wrote:
| > "Pavol Droba" <droba_at_[hidden]> wrote in message

| It is not same for code entities like iterator_range is. IMO "range" is too broad term to be
| used this.

but considering the class need to be instatiated with an iterator, it this seems to carry double information:

typedef vector<int> container;
container v;
typedef container::iterator iterator;

iterator_range<iterator> my_range = make_iterator_range( v.begin(), v.end() );


range<iterator> my_range = make_range( v.begin(), v.end() );
irange<iterator> my_range = make_irange( v.begin(), v.end() );

says IMO essentially what it must.



Boost list run by bdawes at, gregod at, cpdaniel at, john at