a.cpp 169 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 class Patatino { public: double _blah; Patatino(int blah) : _blah(blah) {} }; bool operator==(const Patatino& a, const Patatino& b) { return a._blah < b._blah; }