thrust::system::operator==

Defined in thrust/system/error_code.h

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

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