mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Core: Blackfin CPU support
git-svn-id: svn://ultimatepp.org/upp/trunk@1447 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
559e56ceb1
commit
29701e5eb8
12 changed files with 477 additions and 373 deletions
|
|
@ -684,11 +684,16 @@ public:
|
|||
friend WString operator+(const WString& a, char b) { WString c(a); c += b; return c; }
|
||||
friend WString operator+(char a, const WString& b) { WString c(a, 1); c += b; return c; }
|
||||
|
||||
#ifndef _HAVE_NO_STDWSTRING
|
||||
WString(const std::wstring& s);
|
||||
operator std::wstring() const;
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
#ifndef _HAVE_NO_STDWSTRING
|
||||
inline std::wstring to_string(const WString& s) { return std::wstring(s.Begin(), s.End()); }
|
||||
#endif
|
||||
|
||||
class WStringBuffer : NoCopy {
|
||||
wchar *begin;
|
||||
|
|
|
|||
Loading…
Reference in a new issue