$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Thomas Witt (witt_at_[hidden])
Date: 2003-09-28 12:48:05
Thomas Witt wrote:
>
> Hi Keith,
>
> Just a short remark, more to follow.
>
> Keith MacDonald wrote:
>
>>
>> class const_iterator
>> : public boost_const_iterator
>
>
> This does not work, it never did and it never will. First rule of
> iterators: Don't derive from an iterator.
Ok, I messed up. This does work. But
class iterator : public const_iterator { ... };
does not.
There is one thing I don't understand, why do you use ia at all.
unsigned char* can be used as an iterator an AFAICS you do not adapt the
underlying iterator in any way.
Thomas