Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Refcountable_T.inl
blob1bbc937546eac703847f22e2a545d2918d03ca0e
1 // -*- C++ -*-
2 //
3 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 template <class ACE_LOCK>
6 ACE_INLINE
7 ACE_Refcountable_T<ACE_LOCK>::ACE_Refcountable_T (long refcount)
8   : refcount_ (refcount)
12 template <class ACE_LOCK>
13 ACE_INLINE long
14 ACE_Refcountable_T<ACE_LOCK>::increment ()
16   return ++this->refcount_;
19 template <class ACE_LOCK>
20 ACE_INLINE long
21 ACE_Refcountable_T<ACE_LOCK>::decrement ()
23   return --this->refcount_;
26 template <class ACE_LOCK>
27 ACE_INLINE long
28 ACE_Refcountable_T<ACE_LOCK>::refcount () const
30   return this->refcount_.value ();
33 ACE_END_VERSIONED_NAMESPACE_DECL