Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-05-19 09:24:27


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. If you wanted
to, you could do so with

namespace boost
{
   template<>
   struct range_mutable_iterator<char*>
   { typedef char* type; }
}

-Thorsten


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