2 // { dg-do compile { target c++11 } }
4 template<class F, class... T>
5 auto indirect_call(F f, T... t) -> decltype(f(t...))
10 template<class F, class T>
17 auto operator()(A... a) -> decltype(indirect_call(f, t, a...))
19 return indirect_call(f, t, a...);
29 template<class F, class V1, class... V>
30 void apply(F f, V1 v1, V... v)
32 apply(VariadicBind<F, int>{f, v1}, v...);
35 void func(int, int) { }