此运算符比较两 CComCurrency 对象确定大。
bool operator >(
const CComCurrency & cur
) const;
参数
- cur
CComCurrency 对象。
返回值
返回 true,如果第一个对象比第二大,否则 false 。
示例
CComCurrency cur1(10, 5100);
CComCurrency cur2(10, 5000);
ATLASSERT(cur1 > cur2);
要求
Header: atlcur.h