summaryrefslogtreecommitdiff
path: root/ACE/ace/Managed_Object.inl
blob: c3b3acae0a1982a7583c7443ec445a5b2e543fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL

template <class TYPE>
ACE_INLINE
ACE_Cleanup_Adapter<TYPE>::ACE_Cleanup_Adapter ()
  // 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 ()
{
  return this->object_;
}

ACE_END_VERSIONED_NAMESPACE_DECL