Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-11-16 17:33:22


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk