Boost logo

Boost :

From: Walter Landry (wlandry_at_[hidden])
Date: 2003-11-11 14:40:03

David Abrahams <dave_at_[hidden]> wrote:
> Walter Landry <wlandry_at_[hidden]> writes:
> > The first downside I can think of is that it can make code a little
> > longer, though not always.
> It's greedily-evaluated; that's one problem.

Do you mean

Walter Landry <wlandry_at_[hidden]> wrote:
> The second downside is that it can be very inefficient to actually
> create a list if not all of the elements are used, especially if there
> are a lot of files.

That is why I suggested that it be provided, not that it be the only

David Abrahams <dave_at_[hidden]> wrote:
> If you want to be able to call begin() on something, you can just
> wrap directory_iterator in another object:

I can't run std::sort() on those iterators.

Walter Landry

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