Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-02-21 13:09:42

Hash: SHA1


On Tuesday 19 February 2002 20:15, rogeeff wrote:
> >
> > Making an iterator const means fixing its position and thats
> exactly what is
> > needed here. The range boundaries should be immutable for an
> cycle_iterator.
> Sorry it was late and I did mix two independent issues here. My first
> point was irrelevant. But still you can't make Policies class member
> const because you can't implement operator= for iterator_adaptor.
> MSVC does not compile it and so would I on it's place. If you have
> T const member;
> in class definition, class became noncopyable. Am I wrong?

No you're not. I missed that point.

> >
> > Honestly, I _do_.
> Could you provide an example?. The interface seems reasonable.

Seems like you caught me pants down on that one. I have to admit that I only
thought I need it. Checking my code I could only find
make_cycle_iterator(x.begin(), make_pair(x.begin(), x.end())).
I still think its an omission not having it, but as long as I do not have an
example I will not object if you throw it out again.


> Info: Send unsubscribe requests to:
> <mailto:boost-unsubscribe_at_[hidden]>
> Your use of Yahoo! Groups is subject to
- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see


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