thrust::system::system_category
Defined in thrust/system/error_code.h
- 
inline const error_category &thrust::system::system_category()
- If the argument - evcorresponds to a POSIX- errnovalue- posv, the function shall return- error_condition(ev,generic_category()). Otherwise, the function shall return- error_condition(ev,system_category()). What constitutes correspondence for any given operating system is unspecified.- Note - The object’s - equivalentvirtual functions shall behave as specified for class- error_category. The object’s- namevirtual function shall return a pointer to the string- "system". The object’s- default_error_conditionvirtual function shall behave as follows:- Returns
- A reference to an object of a type derived from class - error_category.