RESTinio
default_strands.hpp
Go to the documentation of this file.
1 /*
2  * RESTinio
3  */
4 
5 /*!
6  * @file
7  * @brief Typedefs for default strands.
8  * @since v.0.6.12
9  */
10 
11 #pragma once
12 
13 #include <restinio/asio_include.hpp>
14 
15 namespace restinio
16 {
17 
18 /*!
19  * @brief A typedef for the default strand type.
20  *
21  * @since v.0.6.12
22  */
24 
25 /*!
26  * @brief A typedef for no-op strand type.
27  */
29 
30 } /* namespace restinio */
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 &params, string_view_t key)
Gets the value of a parameter specified by key wrapped in std::optional<Value_Type> if parameter exis...
Definition: value_or.hpp:64