blob: 23d0095a948dbbe32391c1a9876642cdb3cec6da (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// -*- C++ -*-
//
// $Id$
#include <algorithm>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template<class T> ACE_INLINE bool
ACE_Intrusive_List<T>::is_empty (void) const
{
return this->head_ == 0;
}
template<class T> ACE_INLINE bool
ACE_Intrusive_List<T>::empty (void) const
{
return this->is_empty ();
}
template<class T> ACE_INLINE T *
ACE_Intrusive_List<T>::head (void) const
{
return this->head_;
}
template<class T> ACE_INLINE T *
ACE_Intrusive_List<T>::tail (void) const
{
return this->tail_;
}
template<class T> ACE_INLINE void
ACE_Intrusive_List<T>::swap(ACE_Intrusive_List<T> & rhs)
{
std::swap(head_, rhs.head_);
std::swap(tail_, rhs.tail_);
}
ACE_END_VERSIONED_NAMESPACE_DECL
|