CComCurrency::operator CURRENCY
이러한 연산자를 사용 하 여 캐스팅 되는 CComCurrency 개체는 통화 데이터 형식입니다.
operator CURRENCY&( ) throw( );
operator const CURRENCY&( ) const throw( );
반환 값
반환에 대 한 참조는 통화 개체입니다.
예제
CComCurrency cur(10, 5000);
CURRENCY cy = static_cast<CURRENCY>(cur); // Note that explicit cast is not necessary
ATLASSERT(cy.int64 == 105000);
요구 사항
헤더: atlcur.h