diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-20 00:36:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-20 00:36:17 +0000 |
commit | d2c5363c97a763d7f4d1effaeb1176c3fc94a8df (patch) | |
tree | 11708e01f081865cac73b37bf2a13e62ef54b01e /ace/SString.h | |
parent | 8593f80c7a545480c8614fa0e40ca2f0e6da10b9 (diff) | |
download | ATCD-d2c5363c97a763d7f4d1effaeb1176c3fc94a8df.tar.gz |
.
Diffstat (limited to 'ace/SString.h')
-rw-r--r-- | ace/SString.h | 15 |
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. |