组 12:函数模板 (C++)
Polyspace® 中的自定义规则 12.x 强制使用函数模板的命名约定。有关如何启用这些规则的信息,请参阅检查自定义规则 (-custom-rules)。
| 编号 | 规则 | 详细信息 |
|---|---|---|
| 12.1 | All function templates must follow the specified pattern. | 适用于非成员函数模板。 |
| 12.2 | All function template parameters must follow the specified pattern. | 适用于成员和非成员函数模板。 |
| 12.3 | All function template members must follow the specified pattern. |