00001 // -*- C++ -*- 00002 // 00003 // $Id: Unbounded_Set.inl 81642 2008-05-07 19:30:35Z shuston $ 00004 00005 #include "ace/Global_Macros.h" 00006 00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 template <typename T> ACE_INLINE bool 00010 ACE_Unbounded_Set_Default_Comparator<T>::operator () (const T &lhs, const T &rhs) const 00011 { 00012 return lhs == rhs; 00013 } 00014 00015 template<typename T> 00016 ACE_Unbounded_Set_Iterator<T>::ACE_Unbounded_Set_Iterator (ACE_Unbounded_Set<T> &s, 00017 bool end) 00018 : base_type (s, end) 00019 { 00020 } 00021 00022 template<typename T> 00023 ACE_Unbounded_Set_Iterator<T>::ACE_Unbounded_Set_Iterator (const base_type & s) 00024 : base_type (s) 00025 { 00026 } 00027 00028 template<typename T> 00029 ACE_Unbounded_Set_Const_Iterator<T>:: 00030 ACE_Unbounded_Set_Const_Iterator (const ACE_Unbounded_Set<T> &s, 00031 bool end) 00032 : base_type (s, end) 00033 { 00034 } 00035 00036 template<typename T> 00037 ACE_Unbounded_Set_Const_Iterator<T>::ACE_Unbounded_Set_Const_Iterator (const base_type & s) 00038 : base_type (s) 00039 { 00040 } 00041 00042 template<typename T> 00043 ACE_Unbounded_Set<T>::ACE_Unbounded_Set (ACE_Allocator *alloc) 00044 : ACE_Unbounded_Set_Ex<T, ACE_Unbounded_Set_Default_Comparator<T> > (alloc) 00045 { 00046 } 00047 00048 00049 ACE_END_VERSIONED_NAMESPACE_DECL