Files
TCPlayerbotCore/externals/ace/Intrusive_List.inl
T
Rat 32546e2282 added ace + vcproj for win
--HG--
branch : trunk
2010-06-07 19:10:55 +02:00

41 lines
754 B
C++

// -*- C++ -*-
//
// $Id: Intrusive_List.inl 83952 2008-12-02 20:01:24Z johnnyw $
#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