summaryrefslogtreecommitdiff
path: root/ace/SString.h
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-08 18:17:47 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-08 18:17:47 +0000
commit03ba31e4466e0413b6757a418ba3b74fe6a4c27a (patch)
tree2f634aa73a61242d4fe7a5d99f199beb15038c3b /ace/SString.h
parent7b803ea44d228fbb06fd1e83168f3d3ad0831f9b (diff)
downloadATCD-03ba31e4466e0413b6757a418ba3b74fe6a4c27a.tar.gz
Updated the docuementation to show that
// Memory is _not_ allocated/freed if <release> is 0.
Diffstat (limited to 'ace/SString.h')
-rw-r--r--ace/SString.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/SString.h b/ace/SString.h
index 4a9b3dd0e18..3b2246091b6 100644
--- a/ace/SString.h
+++ b/ace/SString.h
@@ -55,7 +55,8 @@ public:
int release = 1);
// Constructor that copies <s> into dynamically allocated memory.
// If <release> is non-0 then the <ACE_allocator> is responsible for
- // freeing this memory.
+ // freeing this memory. Memory is _not_ allocated/freed if <release>
+ // is 0.
ACE_CString (const char *s,
size_t len,
@@ -64,7 +65,7 @@ public:
// Constructor that copies <len> chars of <s> into dynamically
// allocated memory (will NUL terminate the result). If <release>
// is non-0 then the <ACE_allocator> is responsible for freeing this
- // memory.
+ // memory. Memory is _not_ allocated/freed if <release> is 0.
ACE_CString (const ACE_CString &);
// Copy constructor.