Versions Compared

Key

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

...

Avoid casting to or from pointers to incomplete classes. If such a cast is, for some reason, absolutely necessary, prefer reinterpret_cast to an old-style cast because it will exhibit the same behavior whether or not the class is incomplete.

Risk Assessment

XXXCasting pointers or references to incomplete classes can result in bad addresses.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

ERR01-A

1 (low)

2 (probable)

2 (high)

P4

L3

...