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

make_any #813

Closed
timsong-cpp opened this issue Jul 9, 2016 · 1 comment
Closed

make_any #813

timsong-cpp opened this issue Jul 9, 2016 · 1 comment

Comments

@timsong-cpp
Copy link
Contributor

The order of template parameters in

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

seems clearly broken. Can this be handled editorially, or should I send this to LWG?

@jwakely
Copy link
Member

jwakely commented Jul 10, 2016

I think that can be fixed editorially, because the proposal contradicts itself. The synopsis has the wrong parameter order but the spec for that function has it right. That fits the following criterion from https://github.com/cplusplus/draft/wiki/How-to-tell-if-an-issue-is-editorial

Internal inconsistencies (e.g. two different declarations for the same function overload, when it is clear which is the correct declaration)

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