Versions Compared

Key

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

...

Here, the entire allocation expression (to the right of the assignment operator) allocates storage for a widget and returns a widget *. If p were not a {{widget *, the compiler would complain about the assignment.

...