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