class Struct {
public:
int A;
int B;
bool operator==(const Struct &s) {
if (this->A != s.A) {
return false;
}
return true;
}
};
class SomeClass {
QLine<Struct*> line
public:
int someFunc();
};
int someFunc()
{
Struct s;
int t = line.indexOf(s == 0);
return t;
}