Versions Compared

Key

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

...

Calling overridable methods on the clone under construction can expose class internals to malicious code or violate class invariants by exposing the clone to trusted code in a partially-initialized state, affording the opportunity to corrupt the state either of the clone, or of the object being cloned, or of both.

...