
16 Nov
2007
16 Nov
'07
10:33 p.m.
v2cechura wrote:
The functions directory_begin()/directory_end() would mimic the convenient container.begin()/container.end() functions used in STL.
FWIW, oven @ http://tinyurl.com/23mmhn contains directory_range, which is a range wrapper for directory_iterator. directory_range drng(a_path); BOOST_FOREACH (boost::filesystem::path const& pt, drng) std::cout << pt.leaf() << std::endl; Regards, -- Shunsuke Sogame