Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed mention of vexing parse from the sentence.

...

Do not write a syntactically ambiguous declaration (aka a vexing parse). With the advent of uniform initialization syntax using a braced-init-list, there is now syntax that unambiguously specifies a declaration instead of an expression statement. Declarations can also be disambiguated by using nonfunction-style casts, by initializating using =, or by removing extraneous parenthesis around the parameter name.

...