Expand Minimize

operator<= Operator

Tests if the concurrent_vector object on the left side of the operator is less than or 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 vector on the left side of the operator is less than or equal to the concurrent vector on the right side of the operator; otherwise false.

The behavior of this operator is identical to the equivalent operator for the vector class in the std namespace.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft