A14-5-2
: type member dependent on class' template parameter detected not dependent
#739
Labels
Difficulty-Medium
A false positive or false negative report which is expected to take 1-5 days effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
Standard-AUTOSAR
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A14-5-2
Description
Type member defined with a dependent name and template parameter results in recommendation to be defined in a separated class because it is identified to be not dependent on the template parameter.
Example
Query
cpp/autosar/src/rules/A14-5-2/NonTemplateMemberDefinedInTemplate.ql
outputs thatanother_template_struct::type
does not use any of the template arguments ofanother_template_struct
.The text was updated successfully, but these errors were encountered: