summaryrefslogtreecommitdiff
path: root/ace/Based_Pointer_T.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-04 02:39:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-04 02:39:12 +0000
commit46a39dd4cd67f4eaa047bfb45acdbc97540a6530 (patch)
tree987ed4a510d9086983d2a107dc4d81e64a589a81 /ace/Based_Pointer_T.h
parentc81d86d52e45aa32c5737d549f44e2ae212898b9 (diff)
downloadATCD-46a39dd4cd67f4eaa047bfb45acdbc97540a6530.tar.gz
ChangeLogTag:Tue Aug 3 18:50:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Based_Pointer_T.h')
-rw-r--r--ace/Based_Pointer_T.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/Based_Pointer_T.h b/ace/Based_Pointer_T.h
index 82c40e2a87d..3306016b8c3 100644
--- a/ace/Based_Pointer_T.h
+++ b/ace/Based_Pointer_T.h
@@ -82,6 +82,9 @@ public:
void operator = (CONCRETE *from);
// Pseudo-assignment operator.
+ void operator = (const ACE_Based_Pointer_Basic<CONCRETE> &);
+ // Pseudo-assignment operator.
+
CONCRETE operator * (void) const;
// Dereference operator.
@@ -109,6 +112,9 @@ public:
void operator+= (long index);
// Increment operator.
+ operator CONCRETE *() const;
+ // Returns the underlying memory address of the smart pointer.
+
CONCRETE *addr (void) const;
// Returns the underlying memory address of the smart pointer.
@@ -118,17 +124,11 @@ public:
void dump (void) const;
// Dump the state of the object.
- // The following should be private, but that causes problems due to
- // broken C++ compilers that don't like friends for methods
- // in templates.
protected:
long target_;
long base_offset_;
// Keep track of our offset from the base pointer.
-
- // = Prevent assignment and initialization (for now).
- ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Based_Pointer_Basic<CONCRETE> &))
};
template <class CONCRETE>
@@ -152,16 +152,16 @@ public:
// Initialize this object using the <initial> pointer.
ACE_Based_Pointer (const ACE_Based_Pointer<CONCRETE> &);
- // Copy constructor.
+ // Copy constructor (not implemented yet).
+
+ void operator = (const ACE_Based_Pointer<CONCRETE> &);
+ // Assignment operator.
void operator = (CONCRETE *from);
// Pseudo-assignment operator.
CONCRETE *operator-> (void);
// The C++ "delegation operator".
-
- // = Prevent assignment and initialization (for now).
- ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Based_Pointer<CONCRETE> &))
};
#if defined (__ACE_INLINE__)