<istream>
Defines the class template basic_istream, which mediates extractions for the iostreams, and the class template basic_iostream, which mediates both insertions and extractions. The header also defines a related manipulator. This header file is typically included for you by another iostreams header; you rarely have to include it directly.
Syntax
#include <istream>
Typedefs
Type name | Description |
---|---|
iostream | A type basic_iostream specialized on char . |
istream | A type basic_istream specialized on char . |
wiostream | A type basic_iostream specialized on wchar. |
wistream | A type basic_istream specialized on wchar. |
Manipulators
Name | Description |
---|---|
ws | Skips white space in the stream. |
swap | Exchanges two stream objects. |
Operators
Operator | Description |
---|---|
operator>> | Extracts characters and strings from the stream. |
Classes
Class | Description |
---|---|
basic_iostream | A stream class that can do both input and output. |
basic_istream | The class template describes an object that controls extraction of elements and encoded objects from a stream buffer with elements of type Elem , also known as char_type, whose character traits are determined by the class Tr , also known as traits_type. |
See also
Thread Safety in the C++ Standard Library
iostream Programming
iostreams Conventions