AutosarC++19_03-A13.3.1

A function that contains “forwarding reference” as its argument shall not be overloaded

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

overloaded_fref

Functions that contain forwarding reference parameters shall not be overloaded

None

False

Options

only_report_overloading_on_forwarding_references

only_report_overloading_on_forwarding_references : bool = False

Whether to enable a slightly different rule interpretation: with a forwarding reference parameter are reported if there exists another function in the overloaded set that overloads the function with the forwarding reference parameter on that forwarding reference parameter.