STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
_Future_error_category Class Reference
Inheritance diagram for _Future_error_category:
_Generic_error_category error_category

Public Member Functions

 _Future_error_category ()
 
virtual const char * name () const _NOEXCEPT
 
virtual string message (int _Errcode) const
 
- Public Member Functions inherited from _Generic_error_category
 _Generic_error_category () _NOEXCEPT
 
- Public Member Functions inherited from error_category
 error_category () _NOEXCEPT
 
virtual ~error_category () _NOEXCEPT
 
virtual error_condition default_error_condition (int _Errval) const _NOEXCEPT
 
virtual bool equivalent (int _Errval, const error_condition &_Cond) const _NOEXCEPT
 
virtual bool equivalent (const error_code &_Code, int _Errval) const _NOEXCEPT
 
bool operator== (const error_category &_Right) const _NOEXCEPT
 
bool operator!= (const error_category &_Right) const _NOEXCEPT
 
bool operator< (const error_category &_Right) const _NOEXCEPT
 
 error_category (const error_category &)=delete
 
error_categoryoperator= (const error_category &)=delete
 

Additional Inherited Members

- Protected Types inherited from error_category
enum  : uintptr_t { _Future_addr = 1, _Generic_addr = 3, _Iostream_addr = 5, _System_addr = 7 }
 
- Protected Attributes inherited from error_category
uintptr_t _Addr
 

Constructor & Destructor Documentation

_Future_error_category::_Future_error_category ( )
inline
191  { // default constructor
193  }
uintptr_t _Addr
Definition: system_error:209
Definition: system_error:213

Member Function Documentation

virtual string _Future_error_category::message ( int  _Errcode) const
inlinevirtual

Reimplemented from _Generic_error_category.

201  { // convert to name of error
202  const char *_Name = _Future_error_map(_Errcode);
203  if (_Name != 0)
204  return (_Name);
205  else
206  return (_Generic_error_category::message(_Errcode));
207  }
const char * _Future_error_map(int _Errcode) _NOEXCEPT
Definition: future:131
virtual string message(int _Errcode) const
Definition: system_error:604
virtual const char* _Future_error_category::name ( ) const
inlinevirtual

Reimplemented from _Generic_error_category.

196  { // get name of category
197  return ("future");
198  }

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