chsvlib
chsv helper source code

◆ CstrLiteral() [1/2]

CHAR_TYPE* Chusov::String::CstrLiteral ( char *  pszByteStr,
wchar_t *  pszWideStr 
)

Returns an argument of CHAR_TYPE type.

Template Parameters
CHAR_TYPEspecifies parameter of what type to return, for CHAR_TYPE=char the first parameter is returned, for CHAR_TYPE=wchar_t the second one is returned.
Parameters
pszByteStra pointer returned by the function if CHAR_TYPE=char
pszWideStra pointer returned by the function if CHAR_TYPE=wchar_t
Returns
Returns a value of an argument of CHAR_TYPE type.