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 6909528 commit 0b5250fCopy full SHA for 0b5250f
cpp/misra/test/rules/RULE-9-5-2/test.cpp
@@ -18,7 +18,7 @@ class MyContainer {
18
19
class ConvertibleToVector {
20
public:
21
- operator std::vector<int>() const { return {}; }
+ operator std::vector<int>() const { return {7, 8, 9}; }
22
std::array<int, 3>::iterator begin() { return data_.begin(); }
23
std::array<int, 3>::iterator end() { return data_.end(); }
24
0 commit comments