WiiFlow_Lite/source/wstringEx/wstringEx.hpp
Fledge68 12d21fa0a7 - now compiled with devkitppc r39-2 (GCC 11) and libogc 2.3.1-1
- updated libwolfssl
- many thanks to blackb0x
2021-09-06 14:16:45 -05:00

21 lines
549 B
C++

#ifndef __WSTRINGEX_HPP
#define __WSTRINGEX_HPP
#include <string>
class wstringEx : public std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >
{
public:
wstringEx(void) { }
wstringEx(const wchar_t *s);
wstringEx(const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > &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)