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