CAtlArray::AssertValid
Rufen Sie diese Methode auf, um zu bestätigen, dass das Objekt gültig ist.
void AssertValid( ) const;
Hinweise
Wenn das Arrayobjekt ungültig ist, wird ATLASSERT eine Assertion aus. Diese Methode ist nur verfügbar, wenn _DEBUG definiert ist.
Beispiel
CAtlArray<float> fArray;
// AssertValid only exists in debug builds
#ifdef _DEBUG
fArray.AssertValid();
#endif
Anforderungen
Header: atlcoll.h