Operatori di confronto di CTimeSpan
Operatori di confronto.
bool operator ==(
CTimeSpan span
) const throw( );
bool operator !=(
CTimeSpan span
) const throw( );
bool operator <(
CTimeSpan span
) const throw( );
bool operator >(
CTimeSpan span
) const throw( );
bool operator <=(
CTimeSpan span
) const throw( );
bool operator >=(
CTimeSpan span
) const throw( );
Parametri
span
Oggetto da confrontare.
Valore restituito
Questi operatori confrontare due valori relativi.Restituisce true se la condizione è true, in caso contrario false.
Esempio
CTimeSpan ts1(100);
CTimeSpan ts2(110);
ATLASSERT((ts1 != ts2) && (ts1 < ts2) && (ts1 <= ts2));
Requisiti
Header: atltime.h