Share via


CComCurrency::operator !=

This operator compares two objects for inequality.

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

Parameters

  • cur
    The CComCurrency object to be compared.

Return Value

Returns true if the item being compared is not equal to the CComCurrency object; otherwise, false.

Example

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

Requirements

Header: atlcur.h

See Also

Reference

CComCurrency Class

CComCurrency::operator ==