|
Boost : |
From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2004-04-26 04:42:36
Martin wrote:
> I have used the filesystem library for some time now and noticed
> that there is no portable way of iterating over files in a directory
> that matches a pattern.
>
> In my applications I often need to find all files in a directory
> that matches "*.txt" or "input.*".
There was a proposal (and some code) for a globbing iterator some time
ago.
http://aspn.activestate.com/ASPN/Mail/Message/1977422
The OP uploaded his proposal to Yahoo files. It's named
"globiter.zip".
HTH,
Angus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk