Operations == and != are performed by comparing the elements using algorithm equal.
Operations <, >, <= and >= are performed by using algorithm lexicographical_compare, which requires that the type of the elements (T) has the < operation (less-than) defined between two objects of that type.
These operators are overloaded in header <vector>. The same operators are overloaded for the vector<bool> specialization.
Parameters
- x, y
- vector containers, having both the same template parameters (T and Allocator).
