thrust::system::make_error_condition

Defined in thrust/system/error_code.h

inline error_condition thrust::system::make_error_condition(errc::errc_t e)
Returns

error_condition(static_cast<int>(e), generic_category()).