Boost logo

Boost Users :

Subject: [Boost-users] begin, end and directory iterators
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2010-04-01 16:44:08


Do boost::begin() and boost::end() support directory iterators? ie., can you
write

void f(boost::filesystem::path&);

boost::filesystem::path some_directory;

std::for_each(boost::begin(some_directory), boost::end(some_directory), f);

If they don't, could they and should they?

- Rob.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net