Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[optional.inplace] "argument pack" should be "function parameter pack" #128

Closed
sdutoit opened this issue May 15, 2013 · 2 comments
Closed

Comments

@sdutoit
Copy link
Contributor

sdutoit commented May 15, 2013

Alisdair says:

[optional.inplace] 20.6.5 In-place construction
p1
The standard does not define a term 'argument pack', the correct
term is 'function parameter pack'.

@jwakely
Copy link
Member

jwakely commented May 15, 2013

Yes, I mentioned this in c++std-lib-34059

I discussed it with Andrzej Krzemienski and I suggested this rewording:

Specifically, optional<T> has a constructor with in_place_t as the
first argument followed by a function parameter pack; this indicates
that T should be constructed in-place (as if by a call to placement
new expression) with the pack expansion forming the constructor
arguments.

He pointed out that "argument pack" is also used (without definition) in [temp.arg]/4

@sdutoit
Copy link
Contributor Author

sdutoit commented Aug 29, 2013

Closed by 0131a03. I in fact removed the sentence outright as it adds nothing to the existing normative wording for the constructors disambiguated by in_place_t.

@sdutoit sdutoit closed this as completed Aug 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants