summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/bug_1462.cpp
blob: 5170b9a9ddc7f5937ba48643c88fed96819844c8 (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)
{
}