herald  2.0.0
Public Member Functions | List of all members
herald::analysis::views::filter_fn< Pred > Struct Template Reference

#include <ranges.h>

Public Member Functions

 filter_fn (const Pred pred)
template<typename ValT >
auto operator() (const ValT &val) -> bool
const Pred predicate () const

Detailed Description

template<typename Pred>
struct herald::analysis::views::filter_fn< Pred >

Use like filter_fn<> myFilter(in_range<int>(18,65)); bool passes = myFilter(45);

The documentation for this struct was generated from the following file: