Boost logo

Boost :

Subject: Re: [boost] [filesystem] #6521 Directory listing using C++11 range-based for loops
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-04-20 04:12:30

On 19-04-2012 17:29, Beman Dawes wrote:

>> Is that the best way for filesystem directory iteration to support
>> range-based for?
> Ticket #5896, Range directory iterators, suggests basing a solution on
> boost::iterator_range<bfs::directory_iterator>, and that's an obvious
> alternative to explore.

If we follow

then we could add

boost::directory_range( const boost::path& )
boost::recursive_directory_range( const boost::path& )

kind regards


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