summaryrefslogtreecommitdiff
path: root/ace/Refcounted_Auto_Ptr.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-11-23 16:37:10 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-11-23 16:37:10 +0000
commit8eb9e09dffd0e5c9bb76b1d9d5ac879e5ac3bab2 (patch)
tree599367c59b3abfb30f6616b4af594a7030f5607c /ace/Refcounted_Auto_Ptr.h
parenta8506638025e0da852a133db31a1d87eacc13f00 (diff)
downloadATCD-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.h6
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;