ゴミ箱
type_traits.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/beast
8 //
9 
10 #ifndef BOOST_BEAST_WEBSOCKET_DETAIL_TYPE_TRAITS_HPP
11 #define BOOST_BEAST_WEBSOCKET_DETAIL_TYPE_TRAITS_HPP
12 
15 
16 namespace boost {
17 namespace beast {
18 namespace websocket {
19 namespace detail {
20 
21 template<class F>
22 using is_RequestDecorator =
23  typename beast::detail::is_invocable<F,
24  void(request_type&)>::type;
25 
26 template<class F>
28  typename beast::detail::is_invocable<F,
29  void(response_type&)>::type;
30 
31 } // detail
32 } // websocket
33 } // beast
34 } // boost
35 
36 #endif
Definition: async_result.hpp:20
Definition: type_traits.hpp:25
Definition: type_traits.hpp:149
typename beast::detail::is_invocable< F, void(response_type &)>::type is_ResponseDecorator
Definition: type_traits.hpp:29
typename beast::detail::is_invocable< F, void(request_type &)>::type is_RequestDecorator
Definition: type_traits.hpp:24