A compound functor which applies the provided functor only to the argument if the supplied filter evaluates to true.
More...
template<typename FilterType, typename FunctorType>
class viennashe::util::filtered_functor< FilterType, FunctorType >
A compound functor which applies the provided functor only to the argument if the supplied filter evaluates to true.
- Template Parameters
-
FilterType | Type of the filter functor. Needs to return 'true' if the action functor should be applied to the element |
FunctorType | The action functor operating on the supplied argument. |
Definition at line 148 of file misc.hpp.