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

Editorial(?) changes in [conversions] #22

Merged
merged 0 commits into from Aug 3, 2012
Merged

Conversation

jwakely
Copy link
Member

@jwakely jwakely commented Jun 24, 2012

The types byte_string and wide_string should be in a fixed-width typeface.

Codecvt is not a template, so Codecvt<Elem, char, std::mbstate_t> is ill-formed, it should be just Codecvt (same problem in [conversions.string] and [conversions.buffer].)

The example in [conversions.string] supposes the existence of some facet called codecvt_utf8, which is in the standard library now so there's no need to word it that way. Just use std::codecvt_utf8.

http://cplusplus.github.com/LWG/lwg-defects.html#991 changed the string types to use allcoators, but didn't update the definitions so they don't match the class synopsis (are those definitions even necessary? They don't add anything that isn't already defined in the class definition in paragraph 2).

There are also lots of redundant std:: qualifications in that clause, which I didn't remove to keep the patch simpler.

If any of these doesn't qualify as editorial changes let me know and I'll request LWG issues and send a new pull request without those parts.

@jwakely
Copy link
Member Author

jwakely commented Jul 2, 2012

I've pushed another couple of changes to my fork which have appeared in this pull request.

  • 8235dcf re-indents an example in [conversions.buffer], so is related to the other commits.
  • a42d619 removes some references to timed_wait which should have been changed to "wait_for or wait_until"

@jwakely jwakely merged commit 2d65834 into cplusplus:master Aug 3, 2012
@jwakely
Copy link
Member Author

jwakely commented Aug 3, 2012

I've created separate branches for these changes and will resubmit as separate pull requests (sorry for the churn, I've figured out the right github workflow now!)

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

1 participant