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

20.3.4 [pair.astuple] takes Pairdemort, The Parameter Who Must Not Be Named #231

Closed
StephanTLavavej opened this issue Nov 12, 2013 · 0 comments

Comments

@StephanTLavavej
Copy link
Contributor

N3797 20.3.4 [pair.astuple]/5-6 depicts get with "get(pair<T1, T2>&)", "get(const pair<T1, T2>&)", and "get(std::pair<T1, T2>&&)", presumably copied from the 20.2 [utility] synopsis. However, [pair.astuple]/5-6 goes on to refer to p.first and p.second, so it needs to name the parameters. get below is unaffected.

Additionally, I note that [pair.astuple] and [utility] contain unnecessary std::pair qualification, presumably a relic from the TR1 era.

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

1 participant