Lines Matching full:template
5 template<typename ...Types>
8 template<typename ...Types>
12 // template-parameter-list and the parameter pack is a template
14 template<int ...N>
17 template<typename ...Types>
19 template<Types ...Values> struct Inner;
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}}
37 template<typename ...Types>
39 Types ...members; // expected-error{{only function and template parameters can be parameter packs}} \
44 // shall contain a template parameter pack; each template parameter
46 template<typename T>