Lexicographically compares two vectors to check them against elementwise equality.
- Template Parameters
-
ValueTypeLeft | A type of an element of the left vector. The type must be such that a common type (as specified by std::common_type) of it and ValueTypeRight is well-defined. |
sbo_threshold_left | An sbo threshold of the left vector. |
AllocatorLeft | An allocator object used by the left vector. |
sbo_threshold_right | An sbo threshold of the right vector. |
AllocatorRight | An allocator object used by the right vector. |
- Parameters
-
left | A reference to the left vector. |
right | A reference to the right vector. |
- Returns
true
, if the vectors are lexicographically equal, that is a number of elements in both vectors match, and the vectors are element-wise equal. Otherwise, the return value is false
.