mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
LoadFrom/StoreTo fixed to work with operator%, fix in Format, usvn now keeps commit messages if no commit performed
git-svn-id: svn://ultimatepp.org/upp/trunk@622 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3406cc7959
commit
a1f17348e4
14 changed files with 536 additions and 446 deletions
|
|
@ -27,6 +27,8 @@ class WString;
|
|||
class StringBuffer;
|
||||
class WStringBuffer;
|
||||
|
||||
class Stream;
|
||||
|
||||
template <class B>
|
||||
class AString : public B {
|
||||
typedef typename B::tchar tchar;
|
||||
|
|
@ -97,7 +99,7 @@ public:
|
|||
int FindFirstOf(int len, const tchar *s, int from) const;
|
||||
int FindFirstOf(const tchar *s, int from = 0) const;
|
||||
int FindFirstOf(const String& s, int from = 0) const { return FindFirstOf(s.GetCount(), ~s, from); }
|
||||
|
||||
|
||||
friend bool operator<(const String& a, const String& b) { return a.Compare(b) < 0; }
|
||||
friend bool operator<(const String& a, const tchar *b) { return a.Compare(b) < 0; }
|
||||
friend bool operator<(const tchar *a, const String& b) { return b.Compare(a) > 0; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue