AutosarC++19_03-A12.1.4

All constructors that are callable with a single argument of fundamental type shall be declared explicit

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

constructor_missing_explicit

Constructor shall be declared explicit

None

False

Options

consider_only_fundamental_types

consider_only_fundamental_types : bool = True

Whether this check should be limited to single arguments of fundamental type or should also be applied to user defined types.
 

suppress_conditionally_explicit

suppress_conditionally_explicit : bool = True

If enabled, automatically suppress violations for constructors declared conditionally explicit