Skip to content

[strings] Consistently spell return types #8107

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

frederick-vs-ja
Copy link
Contributor

For basic_string::front/basic_string::back, the return types are modified to (const_)reference for the consistency with other sequence containers.

For basic_string_view::data, the return types is modified to const charT* for the consistency with basic_string. The same change applies to spelling of the type of closely related exposition-only data member data_.

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.

1 participant