Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

operator!= Operator (concurrent_vector)

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
);
_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.

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

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.

Header: concurrent_vector.h

Namespace: Concurrency

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.