thrust

◆ system_error() [1/6]

thrust::system::system_error::system_error ( error_code  ec,
const std::string &  what_arg 
)
inline

Constructs an object of class system_error.

Parameters
ecThe value returned by code().
what_argA string to include in the result returned by what().
Postcondition
code() == ec.
std::string(what()).find(what_arg) != string::npos.