
7 Jan
2013
7 Jan
'13
1:49 p.m.
[Run]
Hi Folks,
Somewhat to my surprise this code, simply creating a filter_iterator,
evaluates the predicate
until an element satisfying the predicate is found. This seems wrong to me.
Shouldn't evaluation
of the predicate be delayed until the filter_iterator is dereferenced?
Thx, Rob.
#include <iostream>
#include