Menu

[r223]: / trunk / boost / network / traits / headers_container.hpp  Maximize  Restore  History

Download this file

50 lines (39 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright (c) Glyn Matthews 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef __BOOST_NETWORK_TRAITS_HEADERS_CONTAINER_INC__
# define __BOOST_NETWORK_TRAITS_HEADERS_CONTAINER_INC__
# include <map>
# include <boost/network/tags.hpp>
# include <boost/network/traits/string.hpp>
namespace boost {
namespace network {
template <
class Tag
>
struct headers_container {
typedef std::multimap<
typename string<Tag>::type,
typename string<Tag>::type
> type;
};
// template <>
// struct headers_container<tags::default_string> {
// typedef std::multimap<
// string<tags::default_string>::type,
// string<tags::default_string>::type
// > type;
// };
//
//
// template <>
// struct headers_container<tags::default_wstring> {
// typedef std::multimap<
// string<tags::default_wstring>::type,
// string<tags::default_wstring>::type
// > type;
// };
} // namespace network
} // namespace boost
#endif // __BOOST_NETWORK_TRAITS_HEADERS_CONTAINER_INC__