Typedefs | |
typedef basic_ios< char > | std::ios |
One of the I/O forward declarations . | |
typedef basic_streambuf< char > | std::streambuf |
One of the I/O forward declarations . | |
typedef basic_istream< char > | std::istream |
One of the I/O forward declarations . | |
typedef basic_ostream< char > | std::ostream |
One of the I/O forward declarations . | |
typedef basic_iostream< char > | std::iostream |
One of the I/O forward declarations . | |
typedef basic_stringbuf< char > | std::stringbuf |
One of the I/O forward declarations . | |
typedef basic_istringstream< char > | std::istringstream |
One of the I/O forward declarations . | |
typedef basic_ostringstream< char > | std::ostringstream |
One of the I/O forward declarations . | |
typedef basic_stringstream< char > | std::stringstream |
One of the I/O forward declarations . | |
typedef basic_filebuf< char > | std::filebuf |
One of the I/O forward declarations . | |
typedef basic_ifstream< char > | std::ifstream |
One of the I/O forward declarations . | |
typedef basic_ofstream< char > | std::ofstream |
One of the I/O forward declarations . | |
typedef basic_fstream< char > | std::fstream |
One of the I/O forward declarations . |
For ease of use and compatibility, all of the basic_* I/O-related classes are given typedef names for both of the builtin character widths (wide and narrow). The typedefs are the same as the pre-Standard names, for example:
typedef basic_ifstream<char> ifstream;
Because properly forward-declaring these classes can be difficult, you should not do it yourself. Instead, include the <iosfwd> header, which contains only declarations of all the I/O classes as well as the typedefs. Trying to forward-declare the typedefs themselves (e.g., "class ostream;") is not valid ISO C++.
For more specific declarations, see http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|
|
One of the I/O forward declarations .
|