From: Thomas Witt (witt_at_[hidden])
Date: 2002-02-21 13:09:42
-----BEGIN PGP SIGNED MESSAGE-----
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
> 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: http://www.boost.org Send unsubscribe requests to:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk