thrust
Public Member Functions | List of all members
thrust::system::error_condition Class Reference

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_conditionoperator= (ErrorConditionEnum e)
 
void clear (void)
 
int value (void) const
 
const error_categorycategory (void) const
 
std::string message (void) const
 
 operator bool (void) const
 

Detailed Description

The class error_condition describes an object used to hold values identifying error conditions.

Note
error_condition values are portable abstractions, while error_code values are implementation specific.

The documentation for this class was generated from the following file: