operator<#

Fully qualified name: 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 and rhs lexicographically. The comparison is performed as if by std::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 the contents of rhs; false otherwise.