You are on page 1of 1

/conversion/tmp/scratch/499043118.

doc 1
PREPARED BY: Ferreiras

OPERADORES PARA COMPARACION ENTRE VECTORES

Brief Description
Operator
Tests if the vector object on the left side of the operator is not equal
to the vector object on the right side.
operator!=
The return value is true if the vectors are not equal; false if the
vectors are equal.
Tests if the vector object on the left side of the operator is less than
the vector object on the right side.
operator< The return value is true if the vector on the left side of the operator
is less than the vector on the right side of the operator; otherwise
false.
Tests if the vector object on the left side of the operator is less than
or equal to the vector object on the right side.
operator<= The return value is true if the vector on the left side of the operator
is less than or equal to the vector on the right side of the operator;
otherwise false.
Tests if the vector object on the left side of the operator is equal to
the vector object on the right side.
operator== The return value is true if the vector on the left side of the operator
is equal to the vector on the right side of the operator; otherwise
false.
Tests if the vector object on the left side of the operator is greater
than the vector object on the right side.
operator> The return value is true if the vector on the left side of the operator
is greater than the vector on the right side of the operator;
otherwise false.
Tests if the vector object on the left side of the operator is greater
than or equal to the vector object on the right side.
operator>= The return value is true if the vector on the left side of the operator
is greater than or equal to the vector on the right side of the vector;
otherwise false.
VER EJEMPLO: vect9.cpp

You might also like