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

The class error_code describes an object used to hold error code values, such as those originating from the operating system or other low-level application program interfaces. More...

#include <thrust/system/error_code.h>

Public Member Functions

 error_code (void)
 
 error_code (int val, const error_category &cat)
 
template<typename ErrorCodeEnum >
 error_code (ErrorCodeEnum e)
 
void assign (int val, const error_category &cat)
 
template<typename ErrorCodeEnum >
error_codeoperator= (ErrorCodeEnum e)
 
void clear (void)
 
int value (void) const
 
const error_categorycategory (void) const
 
error_condition default_error_condition (void) const
 
std::string message (void) const
 
 operator bool (void) const
 

Detailed Description

The class error_code describes an object used to hold error code values, such as those originating from the operating system or other low-level application program interfaces.


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