A template of a class specifying std::unique_ptr to manage multibyte and wide C strings allocated using one of the allocation functions of the chsvmem.h header, such as AllocateString, AllocateAndFormatString or AllocateAndFormatStringByTags. A class template instance deallocates corresponding memory using the FreeString function or its derivatives. More...
#include <chsvstring.h>


Public Member Functions | |
| AutoCString (pointer p=NULL) | |
| constructs an AutoCString object, possibly initializing it with a pointer to manage. More... | |
| AutoCString (AutoCString &&rrRight) | |
| Standard move constructor. | |
| AutoCString & | operator= (AutoCString &&rrRight) |
| Standard move assignment operator. | |
A template of a class specifying std::unique_ptr to manage multibyte and wide C strings allocated using one of the allocation functions of the chsvmem.h header, such as AllocateString, AllocateAndFormatString or AllocateAndFormatStringByTags. A class template instance deallocates corresponding memory using the FreeString function or its derivatives.
| CharType | is a type of a string elements that is char for multibyte strings and wchar_t for wide strings. |