Delen via


operator!= Operator

Tests if the concurrent_vector object on the left side of the operator is not equal to the concurrent_vector object on the right side.

template<
   typename _Ty,
   class A1,
   class A2
>
inline bool operator!=(
   const concurrent_vector<_Ty,
   A1> &_A,
   const concurrent_vector<_Ty,
   A2> &_B
);

Parameters

  • _Ty
    The data type of the elements stored in the concurrent vectors.

  • A1
    The allocator type of the first concurrent_vector object.

  • A2
    The allocator type of the second concurrent_vector object.

  • _A
    An object of type concurrent_vector.

  • _B
    An object of type concurrent_vector.

Return Value

true if the concurrent vectors are not equal; false if the concurrent vectors are equal.

Remarks

Two concurrent vectors are equal if they have the same number of elements and their respective elements have the same values. Otherwise, they are unequal.

This method is not concurrency-safe with respect to other methods that could modify either of the concurrent vectors _A or _B.

Requirements

Header: concurrent_vector.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

concurrent_vector Class

Concepts

Parallel Containers and Objects