diff options
Diffstat (limited to 'ACE/ace/Intrusive_List.inl')
-rw-r--r-- | ACE/ace/Intrusive_List.inl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/ace/Intrusive_List.inl b/ACE/ace/Intrusive_List.inl new file mode 100644 index 00000000000..cc3ffc70109 --- /dev/null +++ b/ACE/ace/Intrusive_List.inl @@ -0,0 +1,31 @@ +// -*- C++ -*- +// +// $Id$ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template<class T> ACE_INLINE int +ACE_Intrusive_List<T>::is_empty (void) const +{ + return this->head_ == 0; +} + +template<class T> ACE_INLINE int +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_; +} + +ACE_END_VERSIONED_NAMESPACE_DECL |