How to use wildcards in filesystem::path?

7 Aug
2003
7 Aug
'03
9:47 p.m.
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? Thanks in advance.

10 Aug
10 Aug
12:08 p.m.
New subject: [Boost-Users] How to use wildcards in filesystem::path?
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
7984
Age (days ago)
7986
Last active (days ago)
1 comments
2 participants
participants (2)
-
Beman Dawes
-
yxh