summaryrefslogtreecommitdiff
path: root/ace/SString.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-09 21:39:39 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-09 21:39:39 +0000
commit2438bac66ea102a7a0d5b9d565a344b07b4d0c7f (patch)
treeab1889fa3c28434f54a83926f5b520054687597b /ace/SString.cpp
parente8857bc33b1e8e3373a66c5692bf0622520b98d9 (diff)
downloadATCD-2438bac66ea102a7a0d5b9d565a344b07b4d0c7f.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/SString.cpp')
-rw-r--r--ace/SString.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/SString.cpp b/ace/SString.cpp
index 0afe3565cc1..64c4fecf48a 100644
--- a/ace/SString.cpp
+++ b/ace/SString.cpp
@@ -212,6 +212,14 @@ operator<< (ostream &os, const ACE_CString &cs)
}
ostream &
+operator<< (ostream &os, const ACE_WString &ws)
+{
+ if (ws.length () > 0)
+ os << ACE_MULTIBYTE_STRING (ws);
+ return os;
+}
+
+ostream &
operator<< (ostream &os, const ACE_SString &ss)
{
os << ss.fast_rep ();