diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-04 02:39:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-04 02:39:12 +0000 |
commit | 3d20b8c47ee59df3a5bea7b3842444b9ff7f3e39 (patch) | |
tree | 987ed4a510d9086983d2a107dc4d81e64a589a81 /ace/Based_Pointer_T.h | |
parent | b316842d59c69308750c3171c05d0152f6d616cb (diff) | |
download | ATCD-3d20b8c47ee59df3a5bea7b3842444b9ff7f3e39.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.h | 20 |
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__) |