Lines Matching full:parameter
3 // When it is part of a parameter-declaration-clause, the parameter
4 // pack is a function parameter pack.
11 // [ Note: Otherwise, the parameter-declaration is part of a
12 // template-parameter-list and the parameter pack is a template
13 // parameter pack; see 14.1. -- end note ]
23 // only be used in a parameter-declaration.
24 int (...f2)(int); // expected-error{{only function and template parameters can be parameter packs}}
27 int ...x; // expected-error{{only function and template parameters can be parameter packs}}
28 if (int ...y = 17) { } // expected-error{{only function and template parameters can be parameter packs}}
30 for (int ...z = 0; z < 10; ++z) { } // expected-error{{only function and template parameters can be parameter packs}}
33 } catch (int ...e) { // expected-error{{only function and template parameters can be parameter packs}}
39 Types ...members; // expected-error{{only function and template parameters can be parameter packs}} \
40 // expected-error{{data member type contains unexpanded parameter pack}}
43 // The type T of the declarator-id of the function parameter pack
44 // shall contain a template parameter pack; each template parameter
45 // pack in T is expanded by the function parameter pack.
47 void f4(T ...args); // expected-error{{type 'T' of function parameter pack does not contain any unexpanded parameter packs}}