主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

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

描述

规则定义

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

Polyspace 实现

只允许通过直接 typedefs 使用基本类型。

故障排除

如果您预计存在违规,而 Polyspace® 未报告该违规,请参阅Diagnose Why Coding Standard Violations Do Not Appear as Expected

检查信息

组:基本概念
类别:必需、自动

版本历史记录

在 R2019a 中推出