Share via


<istream>

Defines the template class basic_istream, which mediates extractions for the iostreams, and the template class 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.

#include <istream>

Typedefs

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

ws

Skips white space in the stream.

swap

Exchanges two stream objects.

Operators

operator>>

Extracts characters and strings from the stream.

Classes

basic_iostream

A stream class that can do both input and output.

basic_istream

The template class 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

Reference

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

<istream> Members