Hydra: Filter.h File Reference (original) (raw)

#include <hydra/detail/Config.h>
#include <hydra/detail/BackendPolicy.h>
#include <hydra/Types.h>
#include <hydra/Tuple.h>
#include <hydra/Range.h>
#include <utility>
#include <hydra/detail/external/hydra_thrust/partition.h>
#include <hydra/detail/Filter.inl>

Go to the source code of this file.

Namespaces
Functions
template<typename Iterable , typename Functor >
std::enable_if< hydra::detail::is_iterable< Iterable >::value, hydra::Range< decltype(std::declval< Iterable >).begin())> >::type hydra::filter (Iterable &&container, Functor const &filter)
Apply a filter to the range [first, last] and return a pair of iterators for the filtered events. More...
template<typename Iterable , typename Functor >
std::enable_if< hydra::detail::is_iterable< Iterable >::value, std::pair< hydra::Range< decltype(std::declval< Iterable >).begin())>, hydra::Range< decltype(std::declval< Iterable >).begin())> > >::type hydra::segregate (Iterable &&container, Functor const &filter)