Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:Apply

245   constexpr int Apply(int (*F)(int), int n) { return F(n); } // expected-note {{subexpression}}
247 static_assert(1 + Apply(Select(4), 5) + Apply(Select(3), 7) == 42, "");
249 constexpr int Invalid = Apply(Select(0), 0); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'Apply(0, 0)'}}