Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Edited by NavBot (vkp) v1.0

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

MEM44-CPP

1 (low)

2 (probable)

1 (high)

P2

L3

...

Bibliography

Wiki Markup
\[[Meyers 96|AA. Bibliography#Meyers 96]\] Item 9: "Use destructors to prevent resource leaks".

...

VOID MEM43MEM42-CPP. Release resources that require paired acquire and release in the object's destructorEnsure that copy assignment operators do not damage an object that is copied to itself      08. Memory Management (MEM)      09. Input Output (FIO)