Skip to content

Conversation

cpplearner
Copy link
Contributor

  1. Change "noskipws is zero" to "noskipws is false". The latter is more conventional since noskipws is a bool.
  2. Rename the variable ctype to ct. This prevents it from shadowing the class template std::ctype.
  3. Remove redundant comparison between the result of ct.is(…) (which has type bool) and 0.
  4. Add a semicolon to make the sentence structure more clear.

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