mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
25 lines
591 B
C++
25 lines
591 B
C++
// -*- C++ -*-
|
|
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
|