thrust::system::generic_category
Defined in thrust/system/error_code.h
-
inline const error_category &thrust::system::generic_category()
Note
The object’s
default_error_conditionandequivalentvirtual functions shall behave as specified for the classerror_category. The object’snamevirtual function shall return a pointer to the string"generic".- Returns
A reference to an object of a type derived from class
error_category.