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 | 2673941ccda8b8530513732ce9a5bfffe8e8ae45 (patch) | |
tree | fede1668935d2b7eb674eea741c54d6f2dd13743 /ace/SString.cpp | |
parent | f7ec296db4d3a90e5535c5b956ba9f3b63ef79b9 (diff) | |
download | ATCD-2673941ccda8b8530513732ce9a5bfffe8e8ae45.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) |