RESTinio
Loading...
Searching...
No Matches
restinio::utils::tuple_algorithms::impl Namespace Reference

Typedefs

template<typename T>
using index_sequence_for_tuple

Functions

template<typename Predicate, typename Tuple, std::size_t... I>
bool perform_all_of (Predicate &&p, Tuple &&t, std::index_sequence< I... >)
template<typename Predicate, typename Tuple, std::size_t... I>
bool perform_any_of (Predicate &&p, Tuple &&t, std::index_sequence< I... >)

Typedef Documentation

◆ index_sequence_for_tuple

Initial value:
std::make_index_sequence< std::tuple_size<T>::value >

Definition at line 32 of file tuple_algorithms.hpp.

Function Documentation

◆ perform_all_of()

template<typename Predicate, typename Tuple, std::size_t... I>
bool restinio::utils::tuple_algorithms::impl::perform_all_of ( Predicate && p,
Tuple && t,
std::index_sequence< I... >  )
nodiscard

Definition at line 38 of file tuple_algorithms.hpp.

◆ perform_any_of()

template<typename Predicate, typename Tuple, std::size_t... I>
bool restinio::utils::tuple_algorithms::impl::perform_any_of ( Predicate && p,
Tuple && t,
std::index_sequence< I... >  )
nodiscard

Definition at line 50 of file tuple_algorithms.hpp.