diff options
Diffstat (limited to 'externals/ace/Managed_Object.inl')
-rw-r--r-- | externals/ace/Managed_Object.inl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/externals/ace/Managed_Object.inl b/externals/ace/Managed_Object.inl new file mode 100644 index 00000000000..2e77a1c4ed6 --- /dev/null +++ b/externals/ace/Managed_Object.inl @@ -0,0 +1,23 @@ +// -*- C++ -*- +// +// $Id: Managed_Object.inl 80826 2008-03-04 14:51:23Z wotte $ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template <class TYPE> +ACE_INLINE +ACE_Cleanup_Adapter<TYPE>::ACE_Cleanup_Adapter (void) + // Note: don't explicitly initialize "object_", because TYPE may not + // have a default constructor. Let the compiler figure it out . . . +{ +} + +template <class TYPE> +ACE_INLINE +TYPE & +ACE_Cleanup_Adapter<TYPE>::object (void) +{ + return this->object_; +} + +ACE_END_VERSIONED_NAMESPACE_DECL |