Поделиться через


CSimpleStringT::IsEmpty

Tests a CSimpleStringT object for the empty condition.

bool IsEmpty( ) const throw( );

Возвращаемое значение

Returns true if the CSimpleStringT object has 0 length; otherwise false.

Заметки

Call this method to determine if the object contains an empty string.

Пример

The following example demonstrates the use of CSimpleStringT::IsEmpty.

CSimpleString s(pMgr);
ASSERT(s.IsEmpty());   

Требования

Header: atlsimpstr.h

См. также

Основные понятия

CSimpleStringT Class

CSimpleStringT Members

CSimpleStringT::GetLength