Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This operator is used to perform addition on a CComCurrency object.
CComCurrency operator +(
const CComCurrency & cur
) const;
Parameters
- cur
The CComCurrency object to be added to the original object.
Return Value
Returns a CComCurrency object representing the result of the addition. In the event of an error, such as an overflow, this operator calls AtlThrow with an HRESULT describing the error.
Example
CComCurrency cur1(10, 5000), cur2;
cur2 = cur1 + CComCurrency(4, 5000);
ATLASSERT(cur2 == CComCurrency(15, 0));
Requirements
Header: atlcur.h