chsvlib
chsv helper source code

◆ CstrLiteral() [2/2]

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

Returns an argument of const 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 const CHAR_TYPE type.