Content-Type: application/octet-stream /* -------------------------------------------------------------------------- operator.cpp Tekijä: Miika Nurminen Pvm: 8.2.2001 Tarkoitus: Demonstroida Template-operaattorien käyttöä. -------------------------------------------------------------------------- */ #include using namespace std; class A { private: int value; public: A(int a) {value=a;} bool operator==(const A& m) const { if (value==m.value) return true; return false; } bool operator<(const A& m) const { if (value bool operator<=(const T &a, const T &b) { if ( (a