std::ios_base_failure(3cxx)

std::ios_base_failure3cxx

These are thrown to indicate problems with io.

Usage

#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

Member Function Documentation

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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.