主要内容

组 12:函数模板 (C++)

Polyspace® 中的自定义规则 12.x 强制使用函数模板的命名约定。有关如何启用这些规则的信息,请参阅检查自定义规则 (-custom-rules)

编号规则详细信息
12.1All function templates must follow the specified pattern.适用于非成员函数模板。
12.2All function template parameters must follow the specified pattern.适用于成员和非成员函数模板。
12.3All function template members must follow the specified pattern.