Lines Matching refs:rhs
198 void swap(dchecked_vector<T, Alloc>& lhs, dchecked_vector<T, Alloc>& rhs) {
199 lhs.swap(rhs);
204 bool operator==(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) {
205 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin());
208 bool operator!=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) {
209 return !(lhs == rhs);
212 bool operator<(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) {
213 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
216 bool operator<=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) {
217 return !(rhs < lhs);
220 bool operator>(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) {
221 return rhs < lhs;
224 bool operator>=(const dchecked_vector<T, Alloc>& lhs, const dchecked_vector<T, Alloc>& rhs) {
225 return !(lhs < rhs);