We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e136c8 commit b254323Copy full SHA for b254323
cpp/autosar/test/rules/M9-3-3/test.cpp
@@ -175,7 +175,9 @@ template <class T, template <class...> class U> class Stack {
175
public:
176
T &Top() {
177
return this->data.back();
178
- } // Likely NON_COMPLIANT, but cannot be determined until instantiation.
+ } // COMPLIANT[FALSE_NEGATIVE|TRUE_NEGATIVE] - exception not specified in the
179
+ // standard, we opt to not raise an issue because the template can be both
180
+ // compliant and non-compliant depending on instantiations.
181
private:
182
U<T> data;
183
};
0 commit comments