/usr/include/ace/Unbounded_Queue.inl is in libace-dev 6.0.3+dfsg-0.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 | // -*- C++ -*-
//
// $Id: Unbounded_Queue.inl 84316 2009-02-03 19:46:05Z johnnyw $
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class T> ACE_INLINE size_t
ACE_Unbounded_Queue<T>::size (void) const
{
return this->cur_size_;
}
template <class T> ACE_INLINE bool
ACE_Unbounded_Queue<T>::is_empty (void) const
{
// ACE_TRACE ("ACE_Unbounded_Queue<T>::is_empty");
return this->head_ == this->head_->next_;
}
template <class T> ACE_INLINE bool
ACE_Unbounded_Queue<T>::is_full (void) const
{
// ACE_TRACE ("ACE_Unbounded_Queue<T>::is_full");
return false; // We should implement a "node of last resort for this..."
}
ACE_END_VERSIONED_NAMESPACE_DECL
|