GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::error_code(3) C++ Standard Libary std::error_code(3)

std::error_code - std::error_code


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 an 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.


constructor constructs an error code
(public member function)
operator= assigns another error code
(public member function)
assign assigns another error code
(public member function)


clear sets the error_code to value 0 in system_category
(public member function)


value obtains the value of the error_code
(public member function)
category obtains the error_category for this error_code
(public member function)
default_error_condition obtains the error_condition for this error_code
(public member function)
message obtains the explanatory string for this error_code
(public member function)
operator bool checks if the value is non-zero
(public member function)


operator==
operator!=
operator< compares two error_codes
operator<=> (function)
(removed in C++20)
(removed in C++20)
(C++20)
operator<< outputs the value and the category name to an output stream
(function)


is_error_code_enum identifies a class as an error_code enumeration
(C++11) (class template)
std::hash<std::error_code> hash support for std::error_code
(C++11) (class template specialization)


error_condition holds a portable error code
(C++11) (class)
error_category base class for error categories
(C++11) (class)
make_error_code(std::errc) constructs an std::errc error code
(C++11) (function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.