thrust::system::operator==

Defined in thrust/system/error_code.h

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

lhs.category() == rhs.category() && lhs.value() == rhs.value().