summaryrefslogtreecommitdiff
path: root/ace/SString.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-20 00:36:17 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-20 00:36:17 +0000
commitd2c5363c97a763d7f4d1effaeb1176c3fc94a8df (patch)
tree11708e01f081865cac73b37bf2a13e62ef54b01e /ace/SString.h
parent8593f80c7a545480c8614fa0e40ca2f0e6da10b9 (diff)
downloadATCD-d2c5363c97a763d7f4d1effaeb1176c3fc94a8df.tar.gz
.
Diffstat (limited to 'ace/SString.h')
-rw-r--r--ace/SString.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/ace/SString.h b/ace/SString.h
index 5418cf4ec3e..2b67e7a537f 100644
--- a/ace/SString.h
+++ b/ace/SString.h
@@ -50,12 +50,21 @@ public:
ACE_CString (ACE_Allocator *alloc = 0);
// Default constructor.
- ACE_CString (const char *s, ACE_Allocator *alloc = 0, int release = 1);
+ ACE_CString (const char *s,
+ ACE_Allocator *alloc = 0,
+ 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.
- ACE_CString (const char *s, size_t len, ACE_Allocator *alloc = 0, int release = 1);
+ ACE_CString (const char *s,
+ size_t len,
+ ACE_Allocator *alloc = 0,
+ int release = 1);
// Constructor that copies <len> chars of <s> into dynamically
- // allocated memory (will NUL terminate the result).
+ // allocated memory (will NUL terminate the result). If <release>
+ // is non-0 then the <ACE_allocator> is responsible for freeing this
+ // memory.
ACE_CString (const ACE_CString &);
// Copy constructor.