42 template<
typename T,
template<
typename>
typename C>
62 std::function<bool(
const T&)> predicate;
81 std::shared_ptr<C<T>> _owned;
87 std::vector<Step> _steps;
175 bool allMatch(std::function<
bool(
const T&)> predicate);
182 bool anyMatch(std::function<
bool(
const T&)> predicate);
189 bool noneMatch(std::function<
bool(
const T&)> predicate);
214 void collect(D& container, std::function<
void(D&,
const T&)> collector);
224 D
collect(std::function<
void(D&,
const T&)> collector);
232 template<
typename D,
typename R>
233 void collect(D& container, R(D::*collector)(
const T&));
242 template<
typename D,
typename R>
253 void traverse(F&& consumer);
263 Verdict apply(
const T& value, std::vector<uint64_t>& counters)
const;
270#include "impl/fluent.hpp"
Fluent & limit(uint64_t limit)
bool anyMatch(std::function< bool(const T &)> predicate)
void collect(D &container, std::function< void(D &, const T &)> collector)
D collect(std::function< void(D &, const T &)> collector)
Fluent(C< T > &&container)
Fluent & skip(uint64_t skip)
Fluent & filter(std::function< bool(const T &)> predicate)
Fluent(C< T > &container)
Fluent(Fluent &&other) noexcept=default
void collect(D &container, R(D::*collector)(const T &))
D collect(R(D::*collector)(const T &))
Fluent & concat(Fluent< T, C > &other) noexcept
Fluent< U, std::vector > map(std::function< U(const T &)> mapper)
void forEach(std::function< void(T &)> action)
bool noneMatch(std::function< bool(const T &)> predicate)
Fluent(const Fluent &other)=default
bool allMatch(std::function< bool(const T &)> predicate)
AnCH framework base namespace.
Definition app.hpp:30