2 // { dg-do compile { target c++11 } }
4 template<typename... _Elements>
7 template<typename _Arg>
10 template<typename _Signature>
13 template<typename _Functor, typename... _Bound_args>
14 class _Bind<_Functor(_Bound_args...)>
16 template<typename... _Args, typename
17 = decltype(_Functor()(_Mu<_Bound_args>()(_Bound_args(),
18 tuple<_Args...>())...) )>
22 template<typename _Functor, typename _Arg>
24 bind(_Functor, _Arg) { }
28 bool ready() { return true; }
32 bind(&State::ready, this);