1 #ifndef INCLUDED_U5E_FILTER 2 #define INCLUDED_U5E_FILTER 43 template <
typename InputIteratorType,
typename OutputType,
46 filter(InputIteratorType input_from, InputIteratorType input_to,
47 OutputType& output, Functor operation) {
49 while (input_from != input_to) {
50 counter += operation(*input_from, output);
int filter(InputIteratorType input_from, InputIteratorType input_to, OutputType &output, Functor operation)
Walks an input iterator through a filter.