14 #include <restinio/compiler_features.hpp> 31 template<
typename T >
35 template<
typename Predicate,
typename Tuple, std::size_t... I >
47 template<
typename Predicate,
typename Tuple, std::size_t... I >
64 template<
typename Tuple,
typename Predicate >
67 all_of( Tuple && tuple, Predicate && predicate )
78 template<
typename Tuple,
typename Predicate >
81 any_of( Tuple && tuple, Predicate && predicate )
string_view_t from_string< string_view_t >(string_view_t s)
Get a value from string_view.
bool all_of(Tuple &&tuple, Predicate &&predicate)
bool perform_any_of(Predicate &&p, Tuple &&t, std::index_sequence< I... >)
bool any_of(Tuple &&tuple, Predicate &&predicate)
std::enable_if< std::is_same< Parameter_Container, query_string_params_t >::value||std::is_same< Parameter_Container, router::route_params_t >::value, std::optional< Value_Type > >::type opt_value(const Parameter_Container ¶ms, string_view_t key)
Gets the value of a parameter specified by key wrapped in std::optional<Value_Type> if parameter exis...
bool perform_all_of(Predicate &&p, Tuple &&t, std::index_sequence< I... >)