Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CAtlArray::AssertValid

 

Call this method to confirm that the array object is valid.


void AssertValid( ) const;

If the array object is not valid, ATLASSERT will throw an assertion. This method is available only if _DEBUG is defined.

Example

CAtlArray<float> fArray;
// AssertValid only exists in debug builds
#ifdef _DEBUG
fArray.AssertValid();   
#endif

Requirements

Header: atlcoll.h

Show: