AutosarC++17_10-A12.8.1

Move and copy constructors shall only move and respectively copy base classes and data members of a class, without any side effects

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

copy_ctor_with_side_effect

Copy Constructor has side-effect

None

False

move_ctor_with_side_effect

Move Constructor has side-effect

None

False

Options

report_copy_constructor

report_copy_constructor : bool = True

Whether to report side effects on copy constructors.
 

report_move_constructor

report_move_constructor : bool = True

Whether to report side effects on move constructors.