Closed
Description
[temp.variadic]/4 defines a pack expansion and enumerates the contexts in which it can occur.
[temp.variadic]/5 contains a resolution of core issue 1662 about parameter pack instantiations being considered entities, and also this example:
template<class ... Types> void f(Types ... rest);
template<class ... Types> void g(Types ... rest) {
f(&rest ...); // “&rest ...” is a pack expansion; “&rest” is its pattern
}
This example used to be attached to [temp.variadic]/4, to which it directly relates. The example should be moved up a paragraph. As is, it's a little odd as the example doesn't relate at all to the paragraph it is attached to.
Metadata
Metadata
Assignees
Labels
No labels