thrust::system::operator==

Defined in thrust/system/error_code.h

inline bool thrust::system::operator==(const error_code &lhs, const error_condition &rhs)
Returns

lhs.category().equivalent(lhs.value(), rhs) || rhs.category().equivalent(lhs,rhs.value()).