diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-11-23 16:37:10 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-11-23 16:37:10 +0000 |
commit | 8eb9e09dffd0e5c9bb76b1d9d5ac879e5ac3bab2 (patch) | |
tree | 599367c59b3abfb30f6616b4af594a7030f5607c /ace/Refcounted_Auto_Ptr.h | |
parent | a8506638025e0da852a133db31a1d87eacc13f00 (diff) | |
download | ATCD-8eb9e09dffd0e5c9bb76b1d9d5ac879e5ac3bab2.tar.gz |
ChangeLogTag:Fri Nov 23 08:40:33 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Refcounted_Auto_Ptr.h')
-rw-r--r-- | ace/Refcounted_Auto_Ptr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Refcounted_Auto_Ptr.h b/ace/Refcounted_Auto_Ptr.h index f28fdc2cbfb..bb1ce9f9af4 100644 --- a/ace/Refcounted_Auto_Ptr.h +++ b/ace/Refcounted_Auto_Ptr.h @@ -86,6 +86,9 @@ public: /// Get the pointer value. X *get (void); + /// Get the reference count value. + int count (void) const; + // = Utility method. /// Allows us to check for NULL on all ACE_Refcounted_Auto_Ptr objects. @@ -126,6 +129,9 @@ private: /// Get the pointer value. X *get (void); + /// Get the reference count value. + int count (void) const; + /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; |