Boost logo

Boost :

From: Ullrich Koethe (koethe_at_[hidden])
Date: 2000-12-01 10:01:57


David Abrahams wrote:
>
> Okay, I understand what you're getting at here.
> Should cursor() be renamed as_sequence()?
>

I don't think so. For me, 'as_sequence()' intuitivly implies that the
container is somehow converted. I've choosen cursor to mean 'similar to
an iterator, but slighly different'

> Does the documentation need a warning about the dangers of modifying the
> container during iteration?
>

Good point. Can we simply carry C++ sematics through, or are there
situations where this fails?

--Ulli

-- 
 ________________________________________________________________
|                                                                |
| Ullrich Koethe  Universität Hamburg / University of Hamburg    |
|                 FB Informatik / Dept. of Computer Science      |
|                 AB Kognitive Systeme / Cognitive Systems Group |
|                                                                |
| Phone: +49 (0)40 42883-2573                Vogt-Koelln-Str. 30 |
| Fax:   +49 (0)40 42883-2572                D - 22527 Hamburg   |
| Email: u.koethe_at_[hidden]               Germany             |
|        koethe_at_[hidden]                        |
| WWW:   http://kogs-www.informatik.uni-hamburg.de/~koethe/      |
|________________________________________________________________|

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