#include "TrumpCardT.h" #include using namespace std; bool TrumpCardT::operator < (const TrumpCardT & other) const { cout << "In the trump < " << endl; if (trump != SuiteT::NONE) { if (Suite() == other.Suite() ) { return Value() < other.Value(); }else if (Suite() == trump) { return false; } else if (other.Suite() == trump) { return true; } else { return (Value() < other.Value()); } } else { return Value() < other.Value(); } } SuiteT TrumpCardT::Trump(){ return trump; } void TrumpCardT::Trump(SuiteT t) { trump = t; }