Share via


CSimpleStringT::IsEmpty

Tests a CSimpleStringT object for the empty condition.

bool IsEmpty( ) const throw( );

Return Value

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

Remarks

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

Example

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

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

Requirements

Header: atlsimpstr.h

See Also

Reference

CSimpleStringT Class

CSimpleStringT::GetLength