Checks whether the left vector is lexicographically less than the right vector.
- 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 must be 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 left vector lexicographically less than the right vector, that is the first element in left
that does not match the respective element in right
is strictly less than one in right
or if all elements in left
match their counterparts in right
but left
is a shorter vector than right
. Otherwise, the return value is false
.