$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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