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