ReactOS 0.4.15-dev-8096-ga0eec98
_relops_cont.h
Go to the documentation of this file.
1// This is an implementation file which
2// is intended to be included multiple times with different _STLP_ASSOCIATIVE_CONTAINER
3// setting
4
5#if !defined (_STLP_EQUAL_OPERATOR_SPECIALIZED)
8 const _STLP_TEMPLATE_CONTAINER& __y) {
9 return __x.size() == __y.size() &&
10 equal(__x.begin(), __x.end(), __y.begin());
11}
12#endif /* _STLP_EQUAL_OPERATOR_SPECIALIZED */
13
16 const _STLP_TEMPLATE_CONTAINER& __y) {
17 return lexicographical_compare(__x.begin(), __x.end(),
18 __y.begin(), __y.end());
19}
20
22
23#if defined (_STLP_FUNCTION_TMPL_PARTIAL_ORDER)
27 __x.swap(__y);
28}
29#endif /* _STLP_FUNCTION_TMPL_PARTIAL_ORDER */
_STLP_BEGIN_NAMESPACE bool lexicographical_compare(_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2)
Definition: _algobase.c:39
#define _STLP_CALL
Definition: _bc.h:131
#define _STLP_TEMPLATE_HEADER
Definition: _deque.h:1095
#define _STLP_TEMPLATE_CONTAINER
Definition: _deque.h:1094
_STLP_TEMPLATE_HEADER bool _STLP_CALL operator==(const _STLP_TEMPLATE_CONTAINER &__x, const _STLP_TEMPLATE_CONTAINER &__y)
Definition: _relops_cont.h:7
_STLP_TEMPLATE_HEADER bool _STLP_CALL operator<(const _STLP_TEMPLATE_CONTAINER &__x, const _STLP_TEMPLATE_CONTAINER &__y)
Definition: _relops_cont.h:15
#define _STLP_RELOPS_OPERATORS(_TMPL, _TP)
Definition: features.h:1039
#define swap(a, b)
Definition: qsort.c:63
#define equal(x, y)
Definition: reader.cc:56