chsvlib
chsv helper source code
AutoCString< CharType > Struct Template Reference

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>

Inheritance diagram for AutoCString< CharType >:
Collaboration diagram for AutoCString< CharType >:

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.
 
AutoCStringoperator= (AutoCString &&rrRight)
 Standard move assignment operator.
 

Detailed Description

template<class CharType>
struct Chusov::String::AutoCString< CharType >

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.

Template Parameters
CharTypeis a type of a string elements that is char for multibyte strings and wchar_t for wide strings.

The documentation for this struct was generated from the following file: