thrust::operator==
Defined in thrust/optional.h
- 
template<class T, class U>
 inline constexpr bool thrust::operator==(const optional<T> &lhs, const optional<U> &rhs)
- \group relop - Compares two optional objects - If both optionals contain a value, they are compared with - Ts relational operators. Otherwise- lhsand- rhsare equal only if they are both empty, and- lhsis less than- rhsonly if- rhsis empty and- lhsis not.