Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the base class to determine the object's size, in bytes.
Syntax
unsigned long retVal = object.OnGetObjectSize();
Parameters
This method has no parameters.
Remarks
The default implementation returns sizeof( *this )
. If the object allocates resources, the derived class should override this method to provide more accurate information. This information helps the container manage memory more accurately.