CSimpleStringT::SetManager
Specifies the memory manager of the CSimpleStringT object.
void SetManager(
IAtlStringMgr* pStringMgr
);
- pStringMgr
A pointer to the new memory manager.
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.
The following example demonstrates the use of CSimpleStringT::SetManager.
CSimpleString s(pMgr);
s.SetManager(pCustomMgr);
Header: atlsimpstr.h