
Module: Standard C++ Library Library: Input/output
basic_ostream
basic_iostream basic_ios
ios_base
basic_istream
Class that assists in formatting and interpreting sequences of characters controlled by a stream buffer
#include <istream>
namespace std {
template<class charT, class traits = char_traits<charT> >
class basic_iostream;
}
The class basic_iostream inherits a number of functions from classes basic_ostream and basic_istream. They assist in formatting and interpreting sequences of characters controlled by a stream buffer. Two groups of functions share common properties, the formatted functions and the unformatted functions.
namespace std {
template<class charT, class traits>
class basic_iostream
: public basic_istream<charT, traits>,
public basic_ostream<charT, traits>
{
public:
explicit basic_iostream(basic_streambuf<charT, traits> *sb);
};
}
explicit basic_iostream(basic_streambuf<charT, traits> *sb);
Constructs an object of class basic_iostream, assigning initial values to the base class by calling basic_istream<charT, traits>(sb) and basic_ostream<charT, traits>(sb).
See basic_istream and basic_ostream examples.
char_traits, ios_base, basic_ios, basic_streambuf, basic_istream, basic_ostream
ISO/IEC 14882:1998 -- International Standard for Information Systems --Programming Language C++, Section 27.6.1.5
©2004 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.