diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-04-11 13:07:37 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-04-11 13:07:37 +0000 |
commit | a9b9afc0209953bf7dc8f4f243058d558479e436 (patch) | |
tree | d2314044e2a49da8d3fdb54bcfbf91a86c9df0fa /ace | |
parent | c4c7a378f218c5f8590005375e785c165791751e (diff) | |
download | ATCD-a9b9afc0209953bf7dc8f4f243058d558479e436.tar.gz |
ChangeLogTag:Wed Apr 11 08:04:21 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/SString.i | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ace/SString.i b/ace/SString.i index a90b9e9de00..c5c42f254c5 100644 --- a/ace/SString.i +++ b/ace/SString.i @@ -312,16 +312,6 @@ ACE_CString::hash (void) const return ACE::hash_pjw (this->rep_, this->len_); } -ACE_INLINE ACE_WString -operator+ (const ACE_WString &s, - const ACE_WString &t) -{ - ACE_WString temp (s.length() + t.length()); - temp = s; - temp += t; - return temp; -} - ACE_INLINE ACE_CString operator+ (const ACE_CString &s, const ACE_CString &t) { @@ -499,6 +489,23 @@ ACE_SString::length (void) const return this->len_; } +ACE_INLINE size_t +ACE_WString::length (void) const +{ + ACE_TRACE ("ACE_WString::length"); + return this->len_; +} + +ACE_INLINE ACE_WString +operator+ (const ACE_WString &s, + const ACE_WString &t) +{ + ACE_WString temp (s.length () + t.length ()); + temp = s; + temp += t; + return temp; +} + ACE_INLINE ACE_WString ACE_WString::substr (size_t offset, ssize_t length) const @@ -678,13 +685,6 @@ ACE_WString::rfind (ACE_WSTRING_TYPE c, int pos) const } ACE_INLINE size_t -ACE_WString::length (void) const -{ - ACE_TRACE ("ACE_WString::length"); - return this->len_; -} - -ACE_INLINE size_t ACE_WString::buffer_size(void) const { ACE_TRACE ("ACE_WString::buffer_size"); |