const CTimeSpanamp; 연산자 + = ( CTimeSpan timeSpan );(&A)
const CTimeSpanamp; 연산자 = ( CTimeSpan timeSpan );(&A)
주의
이러한 연산자를 사용 하면 더하기 및 빼기와이 CTimeSpan CTimeSpan 개체 수 있습니다.
예제
/ / CTimeSpan::operator + =,-= 예
CTimeSpan ts1 (10); / / 10 초
CTimeSpan ts2 (100); / / 100 초
ts2-ts1;
ASSERT (ts2.GetTotalSeconds() = 90)
CTimespan 개요 |nbsp; 클래스 멤버 (ko) | 계층 구조 차트(&N)