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

[any.nonmembers]/3 is missing a parameter name #914

Closed
StephanTLavavej opened this issue Sep 2, 2016 · 1 comment
Closed

[any.nonmembers]/3 is missing a parameter name #914

StephanTLavavej opened this issue Sep 2, 2016 · 1 comment

Comments

@StephanTLavavej
Copy link
Contributor

N4606 20.8.4 [any.nonmembers]/3 says:

template <class T, class U, class ...Args>
  any make_any(initializer_list<U>, Args&& ...args);

"Effects: Equivalent to: return any(in_place<T>, il, std::forward<Args>(args)...);"

The declaration needs to name il so the definition can mention it.

@tkoeppe
Copy link
Contributor

tkoeppe commented Sep 25, 2016

Fixed by 5b1d1cb.

@tkoeppe tkoeppe closed this as completed Sep 25, 2016
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