server/dep/ACE_wrappers/ace/Unbounded_Queue.inl
Neo2003 23c920ca4b [10643] Update the ACE part we use to 5.8.2
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-10-25 20:36:51 +02:00

27 lines
660 B
C++

// -*- 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