libfswatch  1.9.3
Functions
fsw::win_strings Namespace Reference

String conversion functions. More...

Functions

string wstring_to_string (wchar_t *s)
 Converts a wide character string into a string. More...
 
string wstring_to_string (const wstring &s)
 
std::string wstring_to_string (const std::wstring &s)
 Converts a wide character string into a string. More...
 

Detailed Description

String conversion functions.

This namespace contains utility functions to convert wide character strings into strings.

Function Documentation

std::string fsw::win_strings::wstring_to_string ( wchar_t *  s)

Converts a wide character string into a string.

Parameters
sThe wchar_t array to convert.
Returns
The converted string.
std::string fsw::win_strings::wstring_to_string ( const std::wstring &  s)

Converts a wide character string into a string.

Parameters
sThe string to convert.
Returns
The converted string.