File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef BOOST_NETWORK_PROTOCOL_HTTP_SUPPORT_POD_OR_NORMAL_HPP_20101128
2
+ #define BOOST_NETWORK_PROTOCOL_HTTP_SUPPORT_POD_OR_NORMAL_HPP_20101128
3
+
4
+ // Copyright 2010 Dean Michael Berris.
5
+ // Distributed under the Boost Software License, Version 1.0.
6
+ // (See accompanying file LICENSE_1_0.txt or copy at
7
+ // http://www.boost.org/LICENSE_1_0.txt)
8
+
9
+ #include < boost/network/protocol/http/tags.hpp>
10
+ #include < boost/network/support/is_pod.hpp>
11
+ #include < boost/mpl/if.hpp>
12
+
13
+ namespace boost { namespace network {
14
+
15
+ template <class Tag >
16
+ struct pod_or_normal :
17
+ mpl::if_<
18
+ is_pod<Tag>
19
+ , tags::pod
20
+ , tags::normal
21
+ >
22
+ {};
23
+
24
+ } /* network */
25
+
26
+ } /* boost */
27
+
28
+ #endif /* BOOST_NETWORK_PROTOCOL_HTTP_SUPPORT_POD_OR_NORMAL_HPP_20101128 */
You can’t perform that action at this time.
0 commit comments