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_conditionand- equivalentvirtual functions shall behave as specified for the class- error_category. The object’s- namevirtual function shall return a pointer to the string- "generic".- Returns
- A reference to an object of a type derived from class - error_category.