thrust
|
The class error_condition
describes an object used to hold values identifying error conditions.
More...
#include <thrust/system/error_code.h>
Public Member Functions | |
error_condition (void) | |
error_condition (int val, const error_category &cat) | |
template<typename ErrorConditionEnum > | |
error_condition (ErrorConditionEnum e) | |
void | assign (int val, const error_category &cat) |
template<typename ErrorConditionEnum > | |
error_condition & | operator= (ErrorConditionEnum e) |
void | clear (void) |
int | value (void) const |
const error_category & | category (void) const |
std::string | message (void) const |
operator bool (void) const | |
The class error_condition
describes an object used to hold values identifying error conditions.
error_condition
values are portable abstractions, while error_code
values are implementation specific.