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

Parameters
  • lhs – Vector whose contents to compare.

  • rhs – Vector whose contents to compare.

Returns

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