Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
mitkPPArgCount.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
23
#ifndef mitkPPArgCount_h
24
#define mitkPPArgCount_h
25
31
#define MITK_PP_ARG_COUNT(...) MITK_PP_ARG_COUNT_((__VA_ARGS__, MITK_PP_RSEQ_N()))
32
34
#define MITK_PP_ARG_COUNT_(tuple) MITK_PP_ARG_N tuple
35
37
#define MITK_PP_ARG_N(_1, \
38
_2, \
39
_3, \
40
_4, \
41
_5, \
42
_6, \
43
_7, \
44
_8, \
45
_9, \
46
_10, \
47
_11, \
48
_12, \
49
_13, \
50
_14, \
51
_15, \
52
_16, \
53
_17, \
54
_18, \
55
_19, \
56
_20, \
57
_21, \
58
_22, \
59
_23, \
60
_24, \
61
_25, \
62
N, \
63
...) \
64
N
65
67
#define MITK_PP_RSEQ_N() 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
68
69
#endif
src
MITK
Modules
Core
include
mitkPPArgCount.h
Generated by
1.9.1