How to use wildcards in filesystem::path?
8 Aug
2003
8 Aug
'03
3:47 a.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
6: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
7780
Age (days ago)
7782
Last active (days ago)
1 comments
2 participants
participants (2)
-
Beman Dawes
-
yxh