2 // { dg-do compile { target c++11 } }
5 _Tp declval() noexcept;
7 template<typename _Tp , typename = decltype(_Tp(declval<_Tp&&>()))>
10 static const bool value=true;
18 noexcept(trait<_T2>::value);
25 Main(const typename R_::Sub1T& r) ;
26 Main(const typename R_::Sub2T& l) ;
32 typedef pair<typename R_::MainT> Rep;
39 typedef pair<typename R_::MainT> Rep;
45 typedef Main<Kernel> MainT;
46 typedef Sub1<Kernel> Sub1T;
47 typedef Sub2<Kernel> Sub2T;
52 return Main<Kernel> ();