25namespace tuple_algorithms
33 std::make_index_sequence< std::tuple_size<T>::value >;
35template<
typename Predicate,
typename Tuple, std::size_t...
I >
41 std::index_sequence<I...> )
44 return (
p( std::get<I>(std::forward<Tuple>(
t)) ) && ...);
47template<
typename Predicate,
typename Tuple, std::size_t...
I >
53 std::index_sequence<I...> )
56 return (
p( std::get<I>(std::forward<Tuple>(
t)) ) || ...);
64template<
typename Tuple,
typename Predicate >
71 std::forward<Tuple>(
tuple),
78template<
typename Tuple,
typename Predicate >
85 std::forward<Tuple>(
tuple),
Detection of compiler version and absence of various features.
bool perform_all_of(Predicate &&p, Tuple &&t, std::index_sequence< I... >)
bool perform_any_of(Predicate &&p, Tuple &&t, std::index_sequence< I... >)
std::make_index_sequence< std::tuple_size< T >::value > index_sequence_for_tuple
bool all_of(Tuple &&tuple, Predicate &&predicate)
bool any_of(Tuple &&tuple, Predicate &&predicate)
run_on_this_thread_settings_t< Traits > on_this_thread()
A special marker for the case when http_server must be run on the context of the current thread.