String to wide string convert. More...
#include <strutils.h>
Public Member Functions | |
| std::wstring | operator() (const std::string &source, std::locale const &loc=std::locale()) const |
| Convert string to the wide string. | |
String to wide string convert.
The string2wstring functor class is used for converting strings to widen (unicode) strings according specified locale.
| std::wstring dbp::string2wstring::operator() | ( | const std::string & | source, | |
| std::locale const & | loc = std::locale() | |||
| ) | const |
Convert string to the wide string.
| source | the string to convert | |
| loc | the string locale (default: current locale) |