16 #define E_FAIL 0x80004005 19 static const char *__errorMsg_UnsupportedAccelerator =
"concurrency::parallel_for_each is not supported on the selected accelerator \"CPU accelerator\".";
25 runtime_exception(
const char * message, HRESULT hresult)
throw() : _M_msg(message), err_code(hresult) {}
29 _M_msg = *(other.what());
30 err_code = other.err_code;
34 virtual const char* what()
const throw() {
return _M_msg.c_str();}
35 HRESULT get_error_code()
const {
return err_code;}
58 HRESULT get_view_removed_reason()
const throw() {
return get_error_code(); }
Definition: kalmar_exception.h:51
namespace for internal classes of Kalmar compiler / runtime
Definition: hc.hpp:42
Definition: kalmar_exception.h:22
Definition: kalmar_exception.h:42