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 @
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;


Shunsuke Sogame

Boost list run by bdawes at, gregod at, cpdaniel at, john at