Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A stream class that can do both input and output.
template <class Elem, class Tr = char_traits<Elem> >
class basic_iostream : public basic_istream<Elem, Tr>,
public basic_ostream<Elem, Tr>
{
public:
explicit basic_iostream(basic_streambuf<Elem, Tr> *_Strbuf);
virtual ~basic_iostream();
};
Remarks
The template class describes an object that controls insertions, through its base class basic_ostream<Elem, Tr>, and extractions, through its base class basic_istream<Elem, Tr>. The two objects share a common virtual base class basic_ios<Elem, Tr>. They also manage a common stream buffer, with elements of type Elem, whose character traits are determined by the class Tr. The constructor initializes its base classes through basic_istream(strbuf) and basic_ostream(strbuf).
Requirements
Header: <istream>
Namespace: std
See Also
Reference
Thread Safety in the Standard C++ Library