summaryrefslogtreecommitdiff
path: root/ACE/ace/Unbounded_Queue.inl
blob: 0ff0cecc4761f2e3cb88eb89a6f505652a682cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// -*- C++ -*-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL

template <class T> ACE_INLINE size_t
ACE_Unbounded_Queue<T>::size () const
{
  return this->cur_size_;
}

template <class T> ACE_INLINE bool
ACE_Unbounded_Queue<T>::is_empty () 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 () 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