chsvlib
chsv helper source code

◆ operator!=() [3/3]

bool Chusov::Memory::operator!= ( const sbo_vector< ValueTypeLeft, sbo_threshold_left, AllocatorLeft > &  left,
const sbo_vector< ValueTypeRight, sbo_threshold_right, AllocatorRight > &  right 
)

Lexicographically compares two vectors to check them against elementwise inequality.

Template Parameters
ValueTypeLeftA type of an element of the left vector. The type must be such that a common type (as specified by std::common_type) of it and ValueTypeRight is well-defined.
sbo_threshold_leftAn sbo threshold of the left vector.
AllocatorLeftAn allocator object used by the left vector.
sbo_threshold_rightAn sbo threshold of the right vector.
AllocatorRightAn allocator object used by the right vector.
Parameters
leftA reference to the left vector.
rightA reference to the right vector.
Returns
true, if the vectors are lexicographically not equal, that is they have differing numbers of their elements or, otherwise, elements of left do not equal to the corresponding elements of right. Otherwise, the return value is false.