diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-04 22:05:57 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-04 22:05:57 +0000 |
commit | ab19ac45d182225dcc99bb26692fdc5c1a23b2c6 (patch) | |
tree | fede1668935d2b7eb674eea741c54d6f2dd13743 /ace/SString.cpp | |
parent | 9d603c20f7f8fe88de6493efbe0ecc42e3922f7d (diff) | |
download | ATCD-ab19ac45d182225dcc99bb26692fdc5c1a23b2c6.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/SString.cpp')
-rw-r--r-- | ace/SString.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ace/SString.cpp b/ace/SString.cpp index 8917b6d4fb5..2f3c10ba5d7 100644 --- a/ace/SString.cpp +++ b/ace/SString.cpp @@ -14,6 +14,29 @@ ACE_ALLOC_HOOK_DEFINE(ACE_CString) char ACE_CString::NULL_CString_ = '\0'; +ostream & +operator << (ostream &os, const ACE_CString &cs) +{ + os << cs.fast_rep (); + return os; +} + +ACE_WString +operator+ (const ACE_WString &s, const ACE_WString &t) +{ + ACE_WString temp (s); + temp += t; + return temp; +} + +ACE_CString +operator+ (const ACE_CString &s, const ACE_CString &t) +{ + ACE_CString temp (s); + temp += t; + return temp; +} + // Copy constructor. ACE_CString::ACE_CString (const ACE_CString &s) |