От: | sushko | ||
Дата: | 19.05.15 08:06 | ||
Оценка: |
class CMoney
{
public:
BOOL operator==(CMoney &other)
{
ASSERT(m_iCurrencyID == other.m_iCurrencyID);
return (m_fAmount == other.m_fAmount);
}
private:
double m_fAmount;
int m_iCurrencyID;
}