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 for equality.

Vectors must have the same number of elements and each element in lhs compares equal with the element in rhs at the same position.

  • lhs – Vector whose contents to compare.

  • rhs – Vector whose contents to compare.


true if the contents of the vectors are equal, false otherwise.