Export (0) Print
Expand All

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

Show:
© 2014 Microsoft