Partager via


IAtlStringMgr::Clone

Returns a pointer to a new string manager for use with another instance of CSimpleStringT.

IAtlStringMgr* Clone( ) throw( );

Return Value

Returns a copy of the IAtlStringMgr object.

Remarks

Commonly called by the framework when a string manager is needed for a new string. In most cases, the this pointer is returned.

However, if the memory manager does not support being used by multiple instances of CSimpleStringT, a pointer to a sharable string manager should be returned.

Note

For usage examples, see Memory Management and CStringT.

Requirements

Header: atlsimpstr.h

See Also

Reference

IAtlStringMgr Class