Boost logo

Boost :

From: Thomas Witt (witt_at_[hidden])
Date: 2002-09-16 08:15:23


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 16 September 2002 14:51, David Abrahams wrote:
> From: "Thomas Witt" <witt_at_[hidden]>
>
> > For directory iterator the factory function just adds typing.
>
> Naw, just call the iterator type directory_iterator_t, and call the object
> factory directory_iterator().

And replace typing with confusion ;-). Furthermore this doesn't really help in
explicit for loops.

> Yes, we need a way to write constructors with iterator_adaptor. Coming
> soon.

I am happy as long as we agree that ctor support is a worthy goal. The
timeframe is not a problem for me.

> Or, you can handcraft your iterator type if you like. That sounds like what
> you're gonna do anyway.

That is what Beman says he is gonna do. I agree with him regarding the point
that a directory_iterator ctor taking a path should be provided.

- --Thomas

- --
Dipl.-Ing. Thomas Witt
Institut fuer Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
voice: +49(0) 511 762 - 4273, fax: +49(0) 511 762-3001
http://www.ive.uni-hannover.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9hdlv0ds/gS3XsBoRAhLmAJwLf8Sym3Kh4C/1T/dCbaSbbtXdZgCgiVFN
JE58YO8zCKLkWV8sN+yw0SI=
=7vDM
-----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