Realistic 3D camera system
3D camera system components
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
asio-1.10.6
include
asio
detail
variadic_templates.hpp
Go to the documentation of this file.
1
//
2
// detail/variadic_templates.hpp
3
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
//
5
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6
//
7
// Distributed under the Boost Software License, Version 1.0. (See accompanying
8
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9
//
10
11
#ifndef ASIO_DETAIL_VARIADIC_TEMPLATES_HPP
12
#define ASIO_DETAIL_VARIADIC_TEMPLATES_HPP
13
14
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
15
# pragma once
16
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
17
18
#include "
asio/detail/config.hpp
"
19
20
#if !defined(ASIO_HAS_VARIADIC_TEMPLATES)
21
22
# define ASIO_VARIADIC_TPARAMS(n) ASIO_VARIADIC_TPARAMS_##n
23
24
# define ASIO_VARIADIC_TPARAMS_1 \
25
typename T1
26
# define ASIO_VARIADIC_TPARAMS_2 \
27
typename T1, typename T2
28
# define ASIO_VARIADIC_TPARAMS_3 \
29
typename T1, typename T2, typename T3
30
# define ASIO_VARIADIC_TPARAMS_4 \
31
typename T1, typename T2, typename T3, typename T4
32
# define ASIO_VARIADIC_TPARAMS_5 \
33
typename T1, typename T2, typename T3, typename T4, typename T5
34
35
# define ASIO_VARIADIC_TARGS(n) ASIO_VARIADIC_TARGS_##n
36
37
# define ASIO_VARIADIC_TARGS_1 x1
38
# define ASIO_VARIADIC_TARGS_2 x1, x2
39
# define ASIO_VARIADIC_TARGS_3 x1, x2, x3
40
# define ASIO_VARIADIC_TARGS_4 x1, x2, x3, x4
41
# define ASIO_VARIADIC_TARGS_5 x1, x2, x3, x4, x5
42
43
# define ASIO_VARIADIC_PARAMS(n) ASIO_VARIADIC_PARAMS_##n
44
45
# define ASIO_VARIADIC_PARAMS_1 T1 x1
46
# define ASIO_VARIADIC_PARAMS_2 T1 x1, T2 x2
47
# define ASIO_VARIADIC_PARAMS_3 T1 x1, T2 x2, T3 x3
48
# define ASIO_VARIADIC_PARAMS_4 T1 x1, T2 x2, T3 x3, T4 x4
49
# define ASIO_VARIADIC_PARAMS_5 T1 x1, T2 x2, T3 x3, T4 x4, T5 x5
50
51
# define ASIO_VARIADIC_ARGS(n) ASIO_VARIADIC_ARGS_##n
52
53
# define ASIO_VARIADIC_ARGS_1 x1
54
# define ASIO_VARIADIC_ARGS_2 x1, x2
55
# define ASIO_VARIADIC_ARGS_3 x1, x2, x3
56
# define ASIO_VARIADIC_ARGS_4 x1, x2, x3, x4
57
# define ASIO_VARIADIC_ARGS_5 x1, x2, x3, x4, x5
58
59
# define ASIO_VARIADIC_GENERATE(m) m(1) m(2) m(3) m(4) m(5)
60
61
#endif // !defined(ASIO_HAS_VARIADIC_TEMPLATES)
62
63
#endif // ASIO_DETAIL_VARIADIC_TEMPLATES_HPP
config.hpp
Generated by
1.8.11