CSimpleStringT::SetManager
Specifies the memory manager of the CSimpleStringT object.
void SetManager(
IAtlStringMgr* pStringMgr
);
Parameters
- pStringMgr
A pointer to the new memory manager.
Remarks
Call this method to specify a new memory manager used by the CSimpleStringT object. For more information on memory managers and string objects, see Memory Management and CStringT.
Example
The following example demonstrates the use of CSimpleStringT::SetManager.
CSimpleString s(pMgr);
s.SetManager(pCustomMgr);
Requirements
Header: atlsimpstr.h