CComCurrency::operator !=

 

此运算符比较不相等的两个对象。

语法

      bool operator !=(
   const CComCurrency & cur 
) const;

参数

  • cur
    要比较的 CComCurrency 对象。

返回值

如果比较的项与 CComCurrency 对象,而不是相等的返回 true ;否则,false

CComCurrency cur1(10, 5000), cur2(10, 5001);
ATLASSERT(cur1 != cur2);   

要求

Header: atlcur.h

请参阅

CComCurrency Class
CComCurrency::operator ==