omni::operator<=
Defined in omni/Vector.h
-
template<class T>
inline bool omni::operator<=(const vector<T> &lhs, const vector<T> &rhs) Compares the contents of two vectors lexicographically.
Compares the contents of
lhs
andrhs
lexicographically. The comparison is performed as if bystd::lexicographical_compare
.- Parameters
lhs – Vector whose contents to compare.
rhs – Vector whose contents to compare.
- Returns
true if contents of
lhs
are lexicographically less than or equal to the contents ofrhs
; false otherwise.