thrust

◆ system_error() [6/6]

thrust::system::system_error::system_error ( int  ev,
const error_category ecat 
)
inline

Constructs an object of class system_error.

Parameters
evThe error value used to create an error_code.
ecatThe error_category used to create an error_code.
Postcondition
code() == error_code(ev, ecat).