
20 Apr
2012
20 Apr
'12
8:12 a.m.
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 http://www.boost.org/doc/libs/1_49_0/libs/range/doc/html/range/reference/ran... then we could add boost::iterator_range<...> boost::directory_range( const boost::path& ) boost::iterator_range<...> boost::recursive_directory_range( const boost::path& ) kind regards -Thorsten