Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite462ae1

Browse files
committed
Adding a selector for pod-like or normal tags for messages.
1 parente1cee56 commite462ae1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#ifndef BOOST_NETWORK_PROTOCOL_HTTP_SUPPORT_POD_OR_NORMAL_HPP_20101128
2+
#defineBOOST_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+
namespaceboost {namespacenetwork {
14+
15+
template<classTag>
16+
structpod_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*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp