summaryrefslogtreecommitdiff
path: root/ace/Managed_Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Managed_Object.h')
-rw-r--r--ace/Managed_Object.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/ace/Managed_Object.h b/ace/Managed_Object.h
index 041e7c2d82a..b700a59cf13 100644
--- a/ace/Managed_Object.h
+++ b/ace/Managed_Object.h
@@ -24,6 +24,8 @@
#include "ace/Object_Manager.h"
#include "ace/Global_Macros.h"
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
/**
* @class ACE_Cleanup_Adapter
*
@@ -115,7 +117,7 @@ public:
// Get the preallocated object identified by "id". Returns a
// pointer to the object. Beware: no error indication is provided,
// because it can _only_ be used for accessing preallocated objects.
- // Note: the function definition is inlined here so that it compiles
+ // @note The function definition is inlined here so that it compiles
// on AIX 4.1 w/xlC v. 3.01.
static TYPE *get_preallocated_array (ACE_Object_Manager::Preallocated_Array identifier)
@@ -133,18 +135,22 @@ public:
// Get the preallocated array identified by "id". Returns a
// pointer to the array. Beware: no error indication is provided,
// because it can _only_ be used for accessing preallocated arrays.
- // Note: the function definition is inlined here so that it compiles
+ // @note The function definition is inlined here so that it compiles
// on AIX 4.1 w/xlC v. 3.01.
-private:
+protected:
+
// Disallow instantiation of this class.
ACE_UNIMPLEMENTED_FUNC (ACE_Managed_Object (void))
+
+private:
+
ACE_UNIMPLEMENTED_FUNC (ACE_Managed_Object (const ACE_Managed_Object<TYPE> &))
ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Managed_Object<TYPE> &))
-
- friend class this_prevents_compiler_warning_about_only_private_constructors;
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#if defined (__ACE_INLINE__)
#include "ace/Managed_Object.inl"
#endif /* __ACE_INLINE__ */