4 #define GMOCK_TEST_REPLACE_comma_WITH_COMMA_I_comma ,
5 #define GMOCK_TEST_REPLACE_comma_WITH_COMMA(x) \
6 GMOCK_PP_CAT(GMOCK_TEST_REPLACE_comma_WITH_COMMA_I_, x)
14 static_assert(
GMOCK_PP_INTERNAL_INTERNAL_16TH(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
15 12, 13, 14, 15, 16, 17, 18) == 16,
54 template <
class... Args>
56 static constexpr
int kArgs =
sizeof...(Args);
58 #define GMOCK_PP_INTERNAL_TYPE_TEST(_i, _Data, _element) \
59 GMOCK_PP_COMMA_IF(_i) _element
61 (
int,
float,
double,
char))>::kArgs == 4,
63 #define GMOCK_PP_INTERNAL_VAR_TEST_1(_x) 1
64 #define GMOCK_PP_INTERNAL_VAR_TEST_2(_x, _y) 2
65 #define GMOCK_PP_INTERNAL_VAR_TEST_3(_x, _y, _z) 3
67 #define GMOCK_PP_INTERNAL_VAR_TEST(...) \
68 GMOCK_PP_VARIADIC_CALL(GMOCK_PP_INTERNAL_VAR_TEST_, __VA_ARGS__)
74 #define GMOCK_PP_INTERNAL_IS_EMPTY_TEST_1
#define GMOCK_PP_IS_BEGIN_PARENS(...)
#define GMOCK_PP_HAS_COMMA(...)
#define GMOCK_PP_INTERNAL_INTERNAL_16TH(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16,...)
#define GMOCK_PP_FOR_EACH(_Macro, _Data, _Tuple)
#define GMOCK_PP_IS_EMPTY(...)
#define GMOCK_PP_INTERNAL_VAR_TEST(...)
#define GMOCK_PP_TAIL(...)
#define GMOCK_PP_CAT(_1, _2)
#define GMOCK_PP_NARG(...)
#define GMOCK_PP_REMOVE_PARENS(...)
#define GMOCK_PP_HEAD(...)
#define GMOCK_PP_IF(_Cond, _Then, _Else)
#define GMOCK_PP_INTERNAL_TYPE_TEST(_i, _Data, _element)
#define GMOCK_PP_NARG0(...)
#define GMOCK_PP_IS_ENCLOSED_PARENS(...)
static constexpr int kArgs
#define GMOCK_TEST_REPLACE_comma_WITH_COMMA(x)
#define GMOCK_PP_INTERNAL_IS_EMPTY_TEST_1