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.7.9.1 [allocator.members] should use addressof() #257

Closed
StephanTLavavej opened this issue Jan 9, 2014 · 1 comment
Closed

20.7.9.1 [allocator.members] should use addressof() #257

StephanTLavavej opened this issue Jan 9, 2014 · 1 comment

Comments

@StephanTLavavej
Copy link
Contributor

N3797 20.7.9.1 [allocator.members]/2 and /3 say:

Returns: The actual address of the object referenced by x, even in the presence of an overloaded operator&.

It would be less verbose to say:

Returns: std::addressof(x).

@AlisdairM
Copy link
Contributor

This is now [depr.default.allocator]p2, which looks like it could otherwise use a little love for formatting of fonts.

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