MessagePack for C++
Main Page
Namespaces
Classes
Files
File List
File Members
include
msgpack
v1
meta.hpp
Go to the documentation of this file.
1
//
2
// MessagePack for C++ static resolution routine
3
//
4
// Copyright (C) 2015 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
11
#ifndef MSGPACK_V1_META_HPP
12
#define MSGPACK_V1_META_HPP
13
14
#if !defined(MSGPACK_USE_CPP03)
15
16
#include "
msgpack/v1/meta_decl.hpp
"
17
18
namespace
msgpack
{
19
21
MSGPACK_API_VERSION_NAMESPACE
(v1) {
23
24
namespace
detail {
25
26
template
<
bool
...values>
struct
all_of_imp
27
: std::is_same<bool_pack<values..., true>, bool_pack<true, values...>>{};
28
29
}
// namespace detail
30
31
template
<std::size_t... Is>
struct
seq
{};
32
33
template
<std::size_t N, std::size_t... Is>
34
struct
gen_seq
:
gen_seq
<N-1, N-1, Is...> {};
35
36
template
<std::size_t... Is>
37
struct
gen_seq
<0, Is...> :
seq
<Is...> {};
38
40
}
// MSGPACK_API_VERSION_NAMESPACE(v1)
42
43
}
// namespace msgpack
44
45
#endif // !defined(MSGPACK_USE_CPP03)
46
47
#endif // MSGPACK_V1_META_HPP
msgpack
Definition:
adaptor_base.hpp:15
msgpack::seq
Definition:
meta.hpp:31
meta_decl.hpp
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition:
versioning.hpp:58
msgpack::detail::all_of_imp
Definition:
meta.hpp:26
msgpack::gen_seq
Definition:
meta.hpp:34
Generated by
1.8.11