Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygen_relops_cont.h
Go to the documentation of this file.
00001 // This is an implementation file which 00002 // is intended to be included multiple times with different _STLP_ASSOCIATIVE_CONTAINER 00003 // setting 00004 00005 #if !defined (_STLP_EQUAL_OPERATOR_SPECIALIZED) 00006 _STLP_TEMPLATE_HEADER 00007 inline bool _STLP_CALL operator==(const _STLP_TEMPLATE_CONTAINER& __x, 00008 const _STLP_TEMPLATE_CONTAINER& __y) { 00009 return __x.size() == __y.size() && 00010 equal(__x.begin(), __x.end(), __y.begin()); 00011 } 00012 #endif /* _STLP_EQUAL_OPERATOR_SPECIALIZED */ 00013 00014 _STLP_TEMPLATE_HEADER 00015 inline bool _STLP_CALL operator<(const _STLP_TEMPLATE_CONTAINER& __x, 00016 const _STLP_TEMPLATE_CONTAINER& __y) { 00017 return lexicographical_compare(__x.begin(), __x.end(), 00018 __y.begin(), __y.end()); 00019 } 00020 00021 _STLP_RELOPS_OPERATORS( _STLP_TEMPLATE_HEADER , _STLP_TEMPLATE_CONTAINER ) 00022 00023 #if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER) 00024 _STLP_TEMPLATE_HEADER 00025 inline void _STLP_CALL swap(_STLP_TEMPLATE_CONTAINER& __x, 00026 _STLP_TEMPLATE_CONTAINER& __y) { 00027 __x.swap(__y); 00028 } 00029 #endif /* _STLP_FUNCTION_TMPL_PARTIAL_ORDER */ Generated on Sun May 27 2012 04:29:21 for ReactOS by
1.7.6.1
|