Yes. It exists. Almost similar, at least, which can work with STL iterators and containers.
boost :: filesystem
Example:
path p ("directorypath"); std::vector<path> v; std::copy(directory_iterator(p), directory_iterator(), std::back_inserter(v)); for (std::vector<path>::const_iterator it=v.begin(); it != v.end(); ++it) { std::cout << " " << *it << std::endl; }
I suppose you would now like to look at directory_iterator to find out what else it provides.
source share