Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-02-04 09:30:26


Hi All,

Here's my conclusion of this small RFC:

These function can be added:

| iterator_range:
| --------------
|
| value_type& front() const;
| value_type& back() const;
| value_type& operator[]( size_type ) const;

sub_range:

- the same, but now constness is propagated

freestanding:

template< class Range >
iterator_range make_iterator_range( Range&,
                                                        typename
range_difference<Range>::type,
                                                        typename
range_difference<Range>::type );

+ one for const Range&. The last version is the most general and hence
we don't need the two others.

br

Thorsten


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