]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/beast/websocket/detail/type_traits.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / beast / websocket / detail / type_traits.hpp
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
13 #include <boost/beast/websocket/rfc6455.hpp>
14 #include <boost/beast/core/detail/type_traits.hpp>
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>
27 using is_ResponseDecorator =
28 typename beast::detail::is_invocable<F,
29 void(response_type&)>::type;
30
31 } // detail
32 } // websocket
33 } // beast
34 } // boost
35
36 #endif