Subject: Re: [boost] [filesystem] #6521 Directory listing using C++11 range-based for loops
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-04-23 11:29:32
On 20-04-2012 17:23, Dave Abrahams wrote:
> on Fri Apr 20 2012, Beman Dawes<bdawes-AT-acm.org> wrote:
>>> And then there's
>>> directory_range('some_path') | filtered(predicate1) | filtered(predicate2) ...
>> Yes, and that's the direction I'm planning to explore.
>> I'm just now setting up to try out such suggestions.
> You may find that post-hoc filtering with "|" is not going to allow you
> to avoid traversing into subdirectories that will ultimately be filtered out.
This would be problematic IMO.
> On the other hand, maybe it's possible to do something with expression
> templates that saves you from that problem.
Seems extreamly complicated.