/usr/include/ace/Refcountable_T.inl is in libace-dev 6.3.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | // -*- C++ -*-
//
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class ACE_LOCK>
ACE_INLINE
ACE_Refcountable_T<ACE_LOCK>::ACE_Refcountable_T (long refcount)
: refcount_ (refcount)
{
}
template <class ACE_LOCK>
ACE_INLINE long
ACE_Refcountable_T<ACE_LOCK>::increment (void)
{
return ++this->refcount_;
}
template <class ACE_LOCK>
ACE_INLINE long
ACE_Refcountable_T<ACE_LOCK>::decrement (void)
{
return --this->refcount_;
}
template <class ACE_LOCK>
ACE_INLINE long
ACE_Refcountable_T<ACE_LOCK>::refcount (void) const
{
return this->refcount_.value ();
}
ACE_END_VERSIONED_NAMESPACE_DECL
|