|
Boost Users : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-08-10 13:08:33
At 11:47 PM 8/7/2003, yxh wrote:
>Hello,
>Can I use "*.*" or "XXX?.???" in filesystem::path? I want to iterate
>through
>a directory to get file names such as "*.txt". Can anyone tell how to do
>this?
Use boost::filter_iterator, perhaps with a regular expression?
Note that the iterator adaptors interfaces have been changed recently, so
be sure to use the version from CVS.
HTH,
--Beman
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net