thrust

◆ system_error() [5/6]

thrust::system::system_error::system_error ( int  ev,
const error_category ecat,
const char *  what_arg 
)
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.
what_argA string to include in the result returned by what().
Postcondition
code() == error_code(ev, ecat).
std::string(what()).find(what_arg) != string::npos.