libstdc++
Diagnostics
Collaboration diagram for Diagnostics:

Modules

 Exceptions
 

Classes

class  std::_V2::error_category
 
struct  std::error_code
 
struct  std::error_condition
 
struct  std::hash< error_code >
 
struct  std::is_error_code_enum< _Tp >
 
struct  std::is_error_condition_enum< _Tp >
 
class  std::system_error
 

Functions

 std::_V2::error_category::error_category (const error_category &)=delete
 
template<typename _ErrorCodeEnum , typename = typename enable_if<is_error_code_enum<_ErrorCodeEnum>::value>::type>
 std::error_code::error_code (_ErrorCodeEnum __e) noexcept
 
 std::error_code::error_code (int __v, const error_category &__cat) noexcept
 
template<typename _ErrorConditionEnum , typename = typename enable_if<is_error_condition_enum<_ErrorConditionEnum>::value>::type>
 std::error_condition::error_condition (_ErrorConditionEnum __e) noexcept
 
 std::error_condition::error_condition (int __v, const error_category &__cat) noexcept
 
 std::system_error::system_error (const system_error &)=default
 
 std::system_error::system_error (error_code __ec, const char *__what)
 
 std::system_error::system_error (error_code __ec, const string &__what)
 
 std::system_error::system_error (error_code __ec=error_code())
 
 std::system_error::system_error (int __v, const error_category &__ecat)
 
 std::system_error::system_error (int __v, const error_category &__ecat, const char *__what)
 
 std::system_error::system_error (int __v, const error_category &__ecat, const string &__what)
 
void std::error_code::assign (int __v, const error_category &__cat) noexcept
 
void std::error_condition::assign (int __v, const error_category &__cat) noexcept
 
const error_categorystd::error_code::category () const noexcept
 
const error_categorystd::error_condition::category () const noexcept
 
void std::error_code::clear () noexcept
 
void std::error_condition::clear () noexcept
 
const error_codestd::system_error::code () const noexcept
 
error_condition std::error_code::default_error_condition () const noexcept
 
virtual error_condition std::_V2::error_category::default_error_condition (int __i) const noexcept
 
virtual bool std::_V2::error_category::equivalent (const error_code &__code, int __i) const noexcept
 
virtual bool std::_V2::error_category::equivalent (int __i, const error_condition &__cond) const noexcept
 
const error_categorystd::generic_category () noexcept
 
_GLIBCXX_DEFAULT_ABI_TAG string std::error_code::message () const
 
_GLIBCXX_DEFAULT_ABI_TAG string std::error_condition::message () const
 
virtual string std::_V2::error_category::message (int) const =0
 
virtual const char * std::_V2::error_category::name () const noexcept=0
 
 std::error_code::operator bool () const noexcept
 
 std::error_condition::operator bool () const noexcept
 
bool std::_V2::error_category::operator!= (const error_category &__other) const noexcept
 
size_t std::hash< error_code >::operator() (const error_code &__e) const noexcept
 
bool std::_V2::error_category::operator< (const error_category &__other) const noexcept
 
template<typename _ErrorCodeEnum >
enable_if< is_error_code_enum< _ErrorCodeEnum >::value, error_code & >::type std::error_code::operator= (_ErrorCodeEnum __e) noexcept
 
template<typename _ErrorConditionEnum >
enable_if< is_error_condition_enum< _ErrorConditionEnum >::value, error_condition & >::type std::error_condition::operator= (_ErrorConditionEnum __e) noexcept
 
error_categorystd::_V2::error_category::operator= (const error_category &)=delete
 
system_errorstd::system_error::operator= (const system_error &)=default
 
bool std::_V2::error_category::operator== (const error_category &__other) const noexcept
 
const error_categorystd::system_category () noexcept
 
int std::error_code::value () const noexcept
 
int std::error_condition::value () const noexcept
 

Variables

error_code std::make_error_code (errc) noexcept
 
error_condition make_error_condition (errc) noexcept
 
error_code make_error_code (errc __e) noexcept
 
error_condition make_error_condition (errc __e) noexcept
 
bool operator== (const error_code &__lhs, const error_code &__rhs) noexcept
 
bool operator== (const error_code &__lhs, const error_condition &__rhs) noexcept
 
bool operator== (const error_condition &__lhs, const error_condition &__rhs) noexcept
 
bool operator< (const error_condition &__lhs, const error_condition &__rhs) noexcept
 
bool operator== (const error_condition &__lhs, const error_code &__rhs) noexcept
 
bool operator!= (const error_code &__lhs, const error_code &__rhs) noexcept
 
bool operator!= (const error_code &__lhs, const error_condition &__rhs) noexcept
 
bool operator!= (const error_condition &__lhs, const error_code &__rhs) noexcept
 
bool operator!= (const error_condition &__lhs, const error_condition &__rhs) noexcept
 

Detailed Description

Components for error handling, reporting, and diagnostic operations.

Function Documentation

◆ error_code() [1/3]

std::error_code::error_code ( )
inlinenoexcept

Definition at line 182 of file system_error.

◆ error_code() [2/3]

template<typename _ErrorCodeEnum , typename = typename enable_if<is_error_code_enum<_ErrorCodeEnum>::value>::type>
std::error_code::error_code ( _ErrorCodeEnum  __e)
inlinenoexcept

Definition at line 190 of file system_error.

◆ error_code() [3/3]

std::error_code::error_code ( int  __v,
const error_category __cat 
)
inlinenoexcept

Definition at line 185 of file system_error.

◆ error_condition() [1/3]

std::error_condition::error_condition ( )
inlinenoexcept

Definition at line 280 of file system_error.

◆ error_condition() [2/3]

template<typename _ErrorConditionEnum , typename = typename enable_if<is_error_condition_enum<_ErrorConditionEnum>::value>::type>
std::error_condition::error_condition ( _ErrorConditionEnum  __e)
inlinenoexcept

Definition at line 288 of file system_error.

◆ error_condition() [3/3]

std::error_condition::error_condition ( int  __v,
const error_category __cat 
)
inlinenoexcept

Definition at line 283 of file system_error.

◆ system_error() [1/6]

std::system_error::system_error ( error_code  __ec,
const char *  __what 
)
inline

Definition at line 440 of file system_error.

◆ system_error() [2/6]

std::system_error::system_error ( error_code  __ec,
const string __what 
)
inline

Definition at line 437 of file system_error.

◆ system_error() [3/6]

std::system_error::system_error ( error_code  __ec = error_code())
inline

Definition at line 434 of file system_error.

◆ system_error() [4/6]

std::system_error::system_error ( int  __v,
const error_category __ecat 
)
inline

Definition at line 446 of file system_error.

◆ system_error() [5/6]

std::system_error::system_error ( int  __v,
const error_category __ecat,
const char *  __what 
)
inline

Definition at line 443 of file system_error.

◆ system_error() [6/6]

std::system_error::system_error ( int  __v,
const error_category __ecat,
const string __what 
)
inline

Definition at line 450 of file system_error.

◆ assign() [1/2]

void std::error_code::assign ( int  __v,
const error_category __cat 
)
inlinenoexcept

Definition at line 194 of file system_error.

◆ assign() [2/2]

void std::error_condition::assign ( int  __v,
const error_category __cat 
)
inlinenoexcept

Definition at line 292 of file system_error.

◆ category() [1/2]

const error_category & std::error_code::category ( ) const
inlinenoexcept

Definition at line 215 of file system_error.

◆ category() [2/2]

const error_category & std::error_condition::category ( ) const
inlinenoexcept

Definition at line 314 of file system_error.

◆ clear() [1/2]

void std::error_code::clear ( )
inlinenoexcept

Definition at line 201 of file system_error.

◆ clear() [2/2]

void std::error_condition::clear ( )
inlinenoexcept

Definition at line 306 of file system_error.

◆ code()

const error_code & std::system_error::code ( ) const
inlinenoexcept

Definition at line 462 of file system_error.

◆ generic_category()

const error_category & std::_V2::generic_category ( )
noexcept

Error category for errno error codes.

Referenced by std::error_code::make_error_code(), and std::error_condition::make_error_condition().

◆ make_error_code()

error_code make_error_code ( errc  __e)
related

Create an error_condition representing a standard errc condition.

Definition at line 239 of file system_error.

References std::generic_category().

◆ make_error_condition()

error_condition make_error_condition ( errc  __e)
related

Create an error_condition representing a standard errc condition.

Definition at line 335 of file system_error.

References std::generic_category().

◆ message() [1/2]

_GLIBCXX_DEFAULT_ABI_TAG string std::error_code::message ( ) const
inline

Definition at line 222 of file system_error.

◆ message() [2/2]

_GLIBCXX_DEFAULT_ABI_TAG string std::error_condition::message ( ) const
inline

Definition at line 318 of file system_error.

◆ operator bool() [1/2]

std::error_code::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 225 of file system_error.

◆ operator bool() [2/2]

std::error_condition::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 321 of file system_error.

◆ operator!=() [1/5]

bool std::_V2::error_category::operator!= ( const error_category __other) const
inlinenoexcept

Definition at line 145 of file system_error.

◆ operator!=() [2/5]

bool operator!= ( const error_code __lhs,
const error_code __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 398 of file system_error.

◆ operator!=() [3/5]

bool operator!= ( const error_code __lhs,
const error_condition __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 404 of file system_error.

◆ operator!=() [4/5]

bool operator!= ( const error_condition __lhs,
const error_code __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 410 of file system_error.

◆ operator!=() [5/5]

bool operator!= ( const error_condition __lhs,
const error_condition __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 415 of file system_error.

◆ operator()()

size_t std::hash< error_code >::operator() ( const error_code __e) const
inlinenoexcept

Definition at line 483 of file system_error.

◆ operator<() [1/2]

bool std::_V2::error_category::operator< ( const error_category __other) const
inlinenoexcept

Definition at line 148 of file system_error.

◆ operator<() [2/2]

bool operator< ( const error_condition __lhs,
const error_condition __rhs 
)
related

Define an ordering for error_condition objects.

Definition at line 378 of file system_error.

◆ operator=() [1/2]

template<typename _ErrorCodeEnum >
enable_if< is_error_code_enum< _ErrorCodeEnum >::value, error_code & >::type std::error_code::operator= ( _ErrorCodeEnum  __e)
inlinenoexcept

Definition at line 208 of file system_error.

◆ operator=() [2/2]

template<typename _ErrorConditionEnum >
enable_if< is_error_condition_enum< _ErrorConditionEnum >::value, error_condition & >::type std::error_condition::operator= ( _ErrorConditionEnum  __e)
inlinenoexcept

Definition at line 302 of file system_error.

◆ operator==() [1/5]

bool std::_V2::error_category::operator== ( const error_category __other) const
inlinenoexcept

Definition at line 136 of file system_error.

◆ operator==() [2/5]

bool operator== ( const error_code __lhs,
const error_code __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 342 of file system_error.

◆ operator==() [3/5]

bool operator== ( const error_code __lhs,
const error_condition __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 349 of file system_error.

◆ operator==() [4/5]

bool operator== ( const error_condition __lhs,
const error_code __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 390 of file system_error.

◆ operator==() [5/5]

bool operator== ( const error_condition __lhs,
const error_condition __rhs 
)
related

Create an error_condition representing a standard errc condition.

Definition at line 357 of file system_error.

◆ system_category()

const error_category & std::_V2::system_category ( )
noexcept

Error category for other error codes defined by the OS.

◆ value() [1/2]

int std::error_code::value ( ) const
inlinenoexcept

Definition at line 212 of file system_error.

◆ value() [2/2]

int std::error_condition::value ( ) const
inlinenoexcept

Definition at line 311 of file system_error.

Variable Documentation

◆ make_error_condition

error_condition make_error_condition(errc) noexcept
related

Create an error_condition representing a standard errc condition.