#ifndef __WSTRINGEX_HPP #define __WSTRINGEX_HPP #include class wstringEx : public std::basic_string, std::allocator > { public: wstringEx(void) { } wstringEx(const wchar_t *s); wstringEx(const std::basic_string, std::allocator > &ws); wstringEx(const std::string &s); wstringEx &operator=(const std::string &s); void fromUTF8(const std::string &s); std::string toUTF8(void) const; }; #endif // !defined(__WSTRINGEX_HPP)