diff options
Diffstat (limited to 'ace/Read_Buffer.h')
-rw-r--r-- | ace/Read_Buffer.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/ace/Read_Buffer.h b/ace/Read_Buffer.h index 11176ef34df..f1075c70901 100644 --- a/ace/Read_Buffer.h +++ b/ace/Read_Buffer.h @@ -25,8 +25,6 @@ #include "ace/Global_Macros.h" #include "ace/os_include/os_stdio.h" -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - class ACE_Allocator; /** @@ -82,7 +80,7 @@ public: size_t replaced (void) const; /// Returns the size of the allocated buffer obtained during a - /// @c read, not including the null terminator. + /// <read>, not including the null terminator. size_t size (void) const; /// Returns a pointer to its allocator. @@ -92,12 +90,6 @@ public: void dump (void) const; private: - - // Disallow copying and assignment... - void operator= (const ACE_Read_Buffer &); - ACE_Read_Buffer (const ACE_Read_Buffer &); - -private: /// Recursive helper method that does the work... char *rec_read (int term, int search, int replace); @@ -117,10 +109,11 @@ private: /// Pointer to the allocator. ACE_Allocator *allocator_; + // = Disallow copying and assignment... + ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Read_Buffer &)) + ACE_UNIMPLEMENTED_FUNC (ACE_Read_Buffer (const ACE_Read_Buffer &)) }; -ACE_END_VERSIONED_NAMESPACE_DECL - #if defined (__ACE_INLINE__) # include "ace/Read_Buffer.inl" #endif /* __ACE_INLINE__ */ |