Versions Compared

Key

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

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

MEM42-CPP

low

probable

high

P2

L3

Automated Detection

Tool

Version

Checker

Description

 PRQA QA-C++

 
Include Page
PRQA QA-C++_v
PRQA QA-C++_v

4072,4073,4075,4076

 

Bibliography

[Henricson 97] Rule 5.12 Copy assignment operators should be protected from doing destructive actions if an object is assigned to itself.

...