RESTinio
Typedefs | Functions
restinio::utils::tuple_algorithms::impl Namespace Reference

Typedefs

template<typename T >
using index_sequence_for_tuple = std::make_index_sequence< std::tuple_size< T >::value >
 

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

template<typename T >
using restinio::utils::tuple_algorithms::impl::index_sequence_for_tuple = typedef std::make_index_sequence< std::tuple_size<T>::value >

Definition at line 33 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... >   
)

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... >   
)

Definition at line 50 of file tuple_algorithms.hpp.