MessagePack for C++
include
msgpack
v2
cpp_config_decl.hpp
Go to the documentation of this file.
1
//
2
// MessagePack for C++ C++03/C++11 Adaptation
3
//
4
// Copyright (C) 2016 KONDO Takatoshi
5
//
6
// Distributed under the Boost Software License, Version 1.0.
7
// (See accompanying file LICENSE_1_0.txt or copy at
8
// http://www.boost.org/LICENSE_1_0.txt)
9
//
10
#ifndef MSGPACK_V2_CPP_CONFIG_DECL_HPP
11
#define MSGPACK_V2_CPP_CONFIG_DECL_HPP
12
13
#include "
msgpack/v1/cpp_config_decl.hpp
"
14
15
#if defined(MSGPACK_USE_CPP03)
16
17
namespace
msgpack
{
18
20
MSGPACK_API_VERSION_NAMESPACE
(
v2
) {
22
23
using
v1::unique_ptr;
24
25
using
v1::move
;
26
27
using
v1::enable_if;
28
29
using
v1::integral_constant;
30
31
using
v1::is_same;
32
33
using
v1::underlying_type;
34
35
using
v1::is_array;
36
37
using
v1::remove_const;
38
using
v1::remove_volatile;
39
using
v1::remove_cv;
40
41
using
v1::is_pointer;
42
44
}
// MSGPACK_API_VERSION_NAMESPACE(v2)
46
47
}
// namespace msgpack
48
49
50
#else // MSGPACK_USE_CPP03
51
52
namespace
msgpack
{
54
MSGPACK_API_VERSION_NAMESPACE
(
v2
) {
56
57
// unique_ptr
58
using
v1::unique_ptr;
59
// using v1::make_unique; // since C++14
60
using
v1::hash;
61
62
// utility
63
using
v1::move
;
64
using
v1::swap;
65
using
v1::enable_if;
66
using
v1::is_same;
67
using
v1::underlying_type;
68
using
v1::is_array;
69
70
using
v1::remove_const;
71
using
v1::remove_volatile;
72
using
v1::remove_cv;
73
74
using
v1::is_pointer;
75
77
}
// MSGPACK_API_VERSION_NAMESPACE(v2)
79
}
// namespace msgpack
80
81
82
#endif // MSGPACK_USE_CPP03
83
84
#endif // MSGPACK_V2_CPP_CONFIG_DECL_HPP
cpp_config_decl.hpp
msgpack
Definition:
adaptor_base.hpp:15
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition:
versioning.hpp:58
msgpack::move
T const & move(T const &t)
v2
Generated by
1.8.17