Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-05-19 11:43:34


Thorsten Ottosen <thorsten.ottosen_at_[hidden]> writes:

> David Abrahams wrote:
>> Thorsten Ottosen <thorsten.ottosen_at_[hidden]> writes:
>>
>>
>>>David Abrahams wrote:
>>>
>>>>Thorsten Ottosen <thorsten.ottosen_at_[hidden]> writes:
>>>
>>>>>- mutable iterators must be defined as a specialization of
>>>>>boost::range_mutable_iterator
>>>>
>>>>
>>>>What do you mean? Surely not _all_ mutable iterators. I assume the
>>>>library doesn't magically make char* an invalid mutable iterator?
>>>
>>>Now the library does not treat char* as a Range anymore.
>>
>>
>> I know that, but I don't see the relevance. AFAICT your statement was
>> not about what qualifies as a Range but about mutable iterators.
>
> right, range_iterator is now range_mutable_iterator and
> range_result_iterator is now range_iterator.

I know that, but I don't see the relevance. AFAICT your statement was
not about how to ask for a Range's iterator types but about
about mutable iterators being specializations of some particular class
template.

I still don't understand what that statement meant.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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