Scroll to navigation

std::ios_base::failure(3cxx) std::ios_base::failure(3cxx)

NAME

std::ios_base::failure - These are thrown to indicate problems with io.

SYNOPSIS

#include <ios>

Inherits std::exception.

Public Member Functions


failure (const char *__s, const error_code &=error_code{})
failure (const string &__s, const error_code &) noexcept
failure (const string &__str) throw ()
error_code code () const noexcept
virtual const char * what () const throw ()

Detailed Description

These are thrown to indicate problems with io.

27.4.2.1.1 Class ios_base::failure

Definition at line 277 of file ios.

Constructor & Destructor Documentation

std::ios_base::failure::failure (const string & __s, const error_code &) [inline], [explicit], [noexcept]

Definition at line 298 of file ios.

std::ios_base::failure::failure (const char * __s, const error_code & = error_code{}) [inline], [explicit]

Definition at line 303 of file ios.

Member Function Documentation

error_code std::ios_base::failure::code () const [inline], [noexcept]

Definition at line 308 of file ios.

virtual const char * std::ios_base::failure::what () const [virtual]

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Mon Aug 22 2022 libstdc++