Home | History | Annotate | Download | only in temp.variadic

Lines Matching defs:Expansion

7 // expansion is expanded by that pack expansion. An appearance of the
9 // enclosing pack expansion. The pattern of a pack expansion shall
11 // pack expansion.
13 struct Expansion {
15 typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain any unexpanded parameter packs}}
16 typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack expansion does not contain any unexpanded parameter packs}}
19 // All of the parameter packs expanded by a pack expansion shall have
25 typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains parameter packs 'Types' and 'OtherTypes' that have different lengths (3 vs. 2)}}
395 typedef Tuple<Pair<Args1, Args2> ... > type; // expected-error{{pack expansion contains parameter packs 'Args1' and 'Args2' that have different lengths (1 vs. 2)}}
410 f(5 ...); // expected-error{{pack expansion does not contain any unexpanded parameter packs}}
420 C() : A<N>(M)... {} // expected-error{{pack expansion contains parameter packs 'N' and 'M' that have different lengths (2 vs. 3)}} expected-error{{pack expansion contains parameter packs 'N' and 'M' that have different lengths (4 vs. 3)}}