24 #ifndef LOG4CPLUS_TSTRING_HEADER_ 25 #define LOG4CPLUS_TSTRING_HEADER_ 29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE) 49 return std::string (str);
70 return std::move (str);
78 return std::wstring (str);
99 return std::move (str);
113 #define LOG4CPLUS_C_STR_TO_TSTRING(STRING) log4cplus::helpers::towstring(STRING) 114 #define LOG4CPLUS_STRING_TO_TSTRING(STRING) log4cplus::helpers::towstring(STRING) 115 #define LOG4CPLUS_TSTRING_TO_STRING(STRING) log4cplus::helpers::tostring(STRING) 119 #define LOG4CPLUS_C_STR_TO_TSTRING(STRING) (std::string(STRING)) 120 #define LOG4CPLUS_STRING_TO_TSTRING(STRING) STRING 121 #define LOG4CPLUS_TSTRING_TO_STRING(STRING) STRING 128 #endif // LOG4CPLUS_TSTRING_HEADER_
std::string tostring(char const *str)
std::wstring towstring(wchar_t const *str)
std::basic_string< tchar > tstring