主要内容

AUTOSAR C++14 Rule A12-1-4

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

描述

规则定义

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

故障排除

如果您预期会出现违规,而 Polyspace® 未报告该违规,请参阅诊断为何编码规范违规未按预期显示

检查信息

组:特殊成员函数
类别:必需、自动

版本历史记录

在 R2019a 中推出