_relops_cont.h

00001 // This is an implementation file which
00002 // is intended to be included multiple times with different _STLP_ASSOCIATIVE_CONTAINER
00003 // setting
00004 
00005 _STLP_TEMPLATE_HEADER
00006 inline bool  _STLP_CALL operator==(const _STLP_TEMPLATE_CONTAINER& __x, 
00007                                    const _STLP_TEMPLATE_CONTAINER& __y) {
00008   return __x.size() == __y.size() &&
00009     equal(__x.begin(), __x.end(), __y.begin());
00010 }
00011 
00012 _STLP_TEMPLATE_HEADER
00013 inline bool  _STLP_CALL operator<(const _STLP_TEMPLATE_CONTAINER& __x, 
00014                                   const _STLP_TEMPLATE_CONTAINER& __y) {
00015   return lexicographical_compare(__x.begin(), __x.end(), 
00016                                  __y.begin(), __y.end());
00017 }
00018 
00019 _STLP_RELOPS_OPERATORS( _STLP_TEMPLATE_HEADER , _STLP_TEMPLATE_CONTAINER )
00020     
00021 #ifdef _STLP_FUNCTION_TMPL_PARTIAL_ORDER
00022 _STLP_TEMPLATE_HEADER
00023 inline void  _STLP_CALL swap(_STLP_TEMPLATE_CONTAINER& __x, 
00024                              _STLP_TEMPLATE_CONTAINER& __y) {
00025   __x.swap(__y);
00026 }
00027 #endif /* _STLP_FUNCTION_TMPL_PARTIAL_ORDER */

Generated on Mon Jun 5 10:20:46 2006 for Intelligence.kdevelop by  doxygen 1.4.6