Beim compile des measurement Tests erscheint folgende Fehlermeldung:
/usr/include/gtest/gtest.h:1430:11: error: invalid operands to binary expression
('int' and 'const cpppc::Measurements')
if (lhs == rhs) {
~~~ ^ ~~~
Warum wird hier lhs als int interpretiert? Die Signatur meines ==-Operators sieht wie folgt aus:
edit:
bool operator==(const self_t &rhs) const
//bool operator==(const vector &v1) const