Boost logo

Boost :

Subject: Re: [boost] [Bind] How do I get bind to deduce the return type of for_each?
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2010-04-21 03:42:10


On Tue, Apr 20, 2010 at 4:57 PM, Neil Groves <neil_at_[hidden]>wrote:

> >
> > Could you do this with directory iteration too? Say to call a function
> for
> > every file in every directory in
> > the current directory. Ie., a two level tree walk, rather than a fully
> > recursive one, but all in one statement?
> >
> > - Rob.
> >
> > For this problem wouldn't you just use the
> boost::filesystem::recursive_directory_iterator ? It seems cleaner.
>
>
Yes I think you would - I hadn't been aware of recursive_directory_iterator
- cheers Neil.

- Rob.


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