Boost logo

Boost :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-09-15 11:25:32

On Sep 15, 2004, at 10:09 AM, Thorsten Ottosen wrote:

> Dear All,
> In the pre-redmond mailing Walter Brown discusses the possibility of
> adding
> these members to standard container classes:
> const_iterator cbegin();
> const_iterator cend();
> const_reverse_iterator crbegin();
> const_reverse_iterator crbegin();
> The motiviation is that we want to be able to say explicitly "give me
> a const
> iterator" without doing ugly casts.
> IMO a sound idea.
> Given the framework in boost.range these would be absolutely *trivial*
> to add.
> 1st vote: for or against adding these?

Against. If the C++ committee likes them, we can add them into a later
revision of Boost.


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