diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-12 14:44:10 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-12 14:44:10 +0000 |
commit | 4b51ce63f40fe0f5f209cbf97c3522874efe461f (patch) | |
tree | f9f8b8ef30c925efb25bd820fda5be32ef4f9a9c /ace/Containers_T.h | |
parent | eb187262284277cd8f2dc06d008f7176495482d4 (diff) | |
download | ATCD-4b51ce63f40fe0f5f209cbf97c3522874efe461f.tar.gz |
ChangeLogTag:Mon Oct 12 09:43:07 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/Containers_T.h')
-rw-r--r-- | ace/Containers_T.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Containers_T.h b/ace/Containers_T.h index fcf858053e0..bb1d445ff17 100644 --- a/ace/Containers_T.h +++ b/ace/Containers_T.h @@ -1376,7 +1376,7 @@ public: // = Initialization and termination methods. - ACE_Array (size_t size); + ACE_Array (size_t size = 0); // Dynamically create an uninitialized array. ACE_Array (size_t size, const T &default_value); @@ -1421,6 +1421,11 @@ public: size_t size (void) const; // Returns the <cur_size_> of the array. + int size (size_t new_size); + // Changes the size of the array to match <new_size>. + // It copies the old contents into the new array. + // Return -1 on failure. + int operator== (const ACE_Array<T> &s) const; // Compare this array with <s> for equality. Two arrays are equal // if their size()'s are equal and all the elements from 0 .. size() |