Main Content

AUTOSAR C++14 Rule A3-9-1

Fixed width integer types from <cstdint>, indicating the size and signedness, shall be used in place of the basic numerical types

Description

Fixed width integer types from <cstdint>, indicating the size and signedness, shall be used in place of the basic numerical types.

Polyspace Implementation

Only allows use of basic types through direct typedefs.

Troubleshooting

If you expect a rule violation but Polyspace® does not report it, see Diagnose Why Coding Standard Violations Do Not Appear as Expected.

Check Information

Group: Basic Concepts
Category: Required, Automated
PQL Name: std.autosar_cpp14.A3_9_1

Version History

Introduced in R2019a