mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
27 lines
660 B
C++
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
|