
21 Apr
2010
21 Apr
'10
7:42 a.m.
On Tue, Apr 20, 2010 at 4:57 PM, Neil Groves <neil@grovescomputing.com>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.