Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This compliant solution assumes the programmer intended for the previous noncompliant code example to fail to compile due to attempting to modify a const-qualified char reference:

...