共用方式為


CMemoryState::CMemoryState

Constructs an empty CMemoryState object that must be filled in by the Checkpoint or Difference member function.

CMemoryState( );

Example

CMemoryState msOld;
msOld.Checkpoint();
CPerson* pper1 = new CPerson();
CPerson* pper2 = new CPerson();
msOld.DumpAllObjectsSince();               

Requirements

Header: afx.h

See Also

Reference

CMemoryState Structure

Hierarchy Chart

Other Resources

CMemoryState Members