Searched refs:ExceptionIf (Results 1 – 1 of 1) sorted by relevance
3 template<bool b> struct ExceptionIf { static int f(); }; struct4 template<> struct ExceptionIf<false> { typedef int f; }; struct27 …int n = ExceptionIf<noexcept(TemplateArg())>::f(); // expected-error {{cannot use defaulted defaul…35 …int n = ExceptionIf<noexcept(Nested())>::f(); // expected-note {{implicit default constructor for …44 int n = ExceptionIf<noexcept(Nested2())>::f();63 …T(int = ExceptionIf<noexcept(Default())::f()); // expected-error {{call to implicitly-deleted defa…