...
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
MEM42-CPP | low | probable | high | P2 | L3 |
Bibliography
\[[Henricson 97|AA. Bibliography#Henricson 97]\] Rule 5.12 Copy assignment operators should be protected from doing destructive actions if an object is assigned to itself.Wiki Markup
\[[Meyers 05|AA. Bibliography#Meyers 05]\] Item 11: Handle assignment to self in {{Wiki Markup operator=}}.
...
MEM41-CPP. Declare a copy constructor, a copy assignment operator, and a destructor in a class that manages resources 08. Memory Management (MEM) MEM44-CPP. Do not leak resources when handling exceptions