Namespaces
Variants
Views
Actions

std::error_code

From cppreference.com
< cpp‎ | error
Revision as of 15:30, 2 November 2012 by P12bot (Talk | contribs)

 
 
 
 
 
Defined in header <system_error>
class error_code;
(since C++11)

std::error_code is a platform-dependent error code. Each std::error_code object holds a pair of error code originating from the operating system, or some low-level interface and a pointer to an object of type std::error_category, which corresponds to the said interface. The error code values may be not unique across different error categories.

Contents

Member functions

Template:cpp/error/error code/dcl list constructorTemplate:cpp/error/error code/dcl list operator=Template:cpp/error/error code/dcl list assignTemplate:cpp/error/error code/dcl list clearTemplate:cpp/error/error code/dcl list valueTemplate:cpp/error/error code/dcl list categoryTemplate:cpp/error/error code/dcl list default error conditionTemplate:cpp/error/error code/dcl list messageTemplate:cpp/error/error code/dcl list operator bool
Modifiers
Observers

Non-member functions

Template:cpp/error/error code/dcl list operator cmpTemplate:cpp/error/error code/dcl list operator ltltTemplate:cpp/error/error code/dcl list make error code

Helper classes

Template:cpp/error/error code/dcl list is error code enumTemplate:cpp/error/error code/dcl list hash

See also

Template:cpp/error/dcl list error conditionTemplate:cpp/error/dcl list error category