summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ACE/ace/Intrusive_Auto_Ptr.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/ACE/ace/Intrusive_Auto_Ptr.h b/ACE/ace/Intrusive_Auto_Ptr.h
index 2a6955f129b..36ff94901b8 100644
--- a/ACE/ace/Intrusive_Auto_Ptr.h
+++ b/ACE/ace/Intrusive_Auto_Ptr.h
@@ -47,20 +47,17 @@ template <class X>
class ACE_Intrusive_Auto_Ptr
{
protected:
-
- /// Used to define a proper boolean conversion for "if (sp) ..."
+ /// Used to define a proper boolean conversion for "if (sp) ..."
static void unspecified_bool(ACE_Intrusive_Auto_Ptr<X>***){};
typedef void (*unspecified_bool_type)(ACE_Intrusive_Auto_Ptr<X>***);
public:
-
/// Enables "if (sp) ..."
operator unspecified_bool_type() const
{
return rep_ == 0 ? 0: unspecified_bool;
}
-
/// Constructor that initializes an ACE_Intrusive_Auto_Ptr to
/// the specified pointer value.
ACE_Intrusive_Auto_Ptr (X *p = 0, bool addref = true);
@@ -103,14 +100,10 @@ public:
/// Get the reference count value.
long count (void) const;
- /// Returns @c true if this object does not contain a valid pointer.
- // bool null (void) const;
-
/// Declare the dynamic allocation hooks.
ACE_ALLOC_HOOK_DECLARE;
protected:
-
/// Protect operations on the ACE_Intrusive_Auto_Ptr.
X *rep_;
};