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

Remove std:: from normative wording #758

Merged
merged 3 commits into from Jun 22, 2016
Merged

Conversation

tkoeppe
Copy link
Contributor

@tkoeppe tkoeppe commented Jun 17, 2016

No description provided.

using reverse_iterator = std::reverse_iterator<iterator>;
using const_reverse_iterator = std::reverse_iterator<const_iterator>;
using reverse_iterator = reverse_iterator<iterator>;
using const_reverse_iterator = reverse_iterator<const_iterator>;
static const size_type npos = -1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The std:: is actually required here, as the typedef has the same name as the thing it is aliasing, in a class from the same namespace - omitting it flags an error on g++, but is ignored by Clang.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent point, reverting!

@jwakely jwakely merged commit e55546d into cplusplus:master Jun 22, 2016
@tkoeppe tkoeppe deleted the svstd branch June 22, 2016 17:28
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

Successfully merging this pull request may close these issues.

None yet

3 participants