Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: capitalization

...

In this noncompliant code example, the member initializer list for C::C() attempts to initialize SomeVal someVal first and then to initialize dependsOnSomeVal to a value dependent on someVal. Because the declaration order of the member variables does not match the member initializer order, attempting to read the value of someVal results in an unspecified value being stored into dependsOnSomeVal.

...