summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/expected/cpp/30114-bug_1462.cpp
blob: 312c7e42cc78298919a6009ddb35f011c4dcc3bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <type_traits>

template <
	typename ... Args,
	typename E = typename std::enable_if<(sizeof...(Args) >= 1), bool>::type
	>
void fun1(Args&& ... args)
{
}

template <
	typename ... Args,
	typename E = typename std::enable_if<(sizeof...(Args) > 1), bool>::type
	>
void fun2(Args&& ... args)
{
}

template <
	typename ... Args,
	typename E = typename std::enable_if<(sizeof...(Args) < 3), bool>::type
	>
void fun3(Args&& ... args)
{
}