| <HTML> |
| <HEAD> |
| <TITLE><iosfwd></TITLE> |
| <LINK REL=StyleSheet HREF="../rw.css" TYPE="text/css" TITLE="Apache stdcxx Stylesheet"></HEAD> |
| <BODY BGCOLOR=#FFFFFF> |
| <A HREF="ios-base--failure.html"><IMG SRC="images/bprev.gif" WIDTH=20 HEIGHT=21 ALT="Previous file" BORDER=O></A><A HREF="noframes.html"><IMG SRC="images/btop.gif" WIDTH=56 HEIGHT=21 ALT="Top of Document" BORDER=O></A><A HREF="booktoc.html"><IMG SRC="images/btoc.gif" WIDTH=56 HEIGHT=21 ALT="Contents" BORDER=O></A><A HREF="tindex.html"><IMG SRC="images/bindex.gif" WIDTH=56 HEIGHT=21 ALT="Index page" BORDER=O></A><A HREF="iostream-h.html"><IMG SRC="images/bnext.gif" WIDTH=25 HEIGHT=21 ALT="Next file" BORDER=O></A><DIV CLASS="DOCUMENTNAME"><B>Apache C++ Standard Library Reference Guide</B></DIV> |
| <H2><iosfwd></H2> |
| <P><B>Library:</B> <A HREF="2-11.html">Input/output</A></P> |
| |
| <PRE><HR><B><I>Header</I></B><HR></PRE> |
| |
| <UL> |
| <LI><A HREF="#sec1">Local Index</A></LI> |
| <LI><A HREF="#sec2">Summary</A></LI> |
| <LI><A HREF="#sec3">Synopsis</A></LI> |
| <LI><A HREF="#sec4">See Also</A></LI> |
| <LI><A HREF="#sec5">Standards Conformance</A></LI> |
| </UL> |
| <A NAME="sec1"><H3>Local Index</H3></A> |
| No Entries |
| <A NAME="sec2"><H3>Summary</H3></A> |
| <P>The header <SAMP><iosfwd></SAMP> is part of the Input/output library of the C++ Standard Library. It declares all essential iostream class templates and defines aliases for specializations of these templates on types <SAMP>char</SAMP> and <SAMP>wchar_t</SAMP>.</P> |
| <A NAME="sec3"><H3>Synopsis</H3></A> |
| |
| <PRE>#include <iosfwd> |
| |
| namespace std { |
| // forward declare the traits class |
| template<class charT> struct <SAMP><A HREF="char-traits.html">char_traits</A></SAMP>; |
| |
| // forward declare the positioning class |
| template<class stateT> class <SAMP><A HREF="fpos.html">fpos</A></SAMP>; |
| |
| // forward declare the state class |
| class mbstate_t; |
| |
| // forward declare the allocator class |
| template<class T> class <SAMP><A HREF="allocator.html">allocator</A></SAMP>; |
| |
| // forward declare the iostreams class templates |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-ios.html">basic_ios</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-streambuf.html">basic_streambuf</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-istream.html">basic_istream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-ostream.html">basic_ostream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT>, |
| class Allocator = allocator<charT> > |
| class <SAMP><A HREF="basic-stringbuf.html">basic_stringbuf</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT>, |
| class Allocator = allocator<charT> > |
| class <SAMP><A HREF="basic-istringstream.html">basic_istringstream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT>, |
| class Allocator = allocator<charT> > |
| class <SAMP><A HREF="basic-ostringstream.html">basic_ostringstream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-filebuf.html">basic_filebuf</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-ifstream.html">basic_ifstream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-ofstream.html">basic_ofstream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="ostreambuf-iterator.html">ostreambuf_iterator</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="istreambuf-iterator.html">istreambuf_iterator</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-iostream.html">basic_iostream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT>, |
| class Allocator = allocator<charT> > |
| class <SAMP><A HREF="basic-stringstream.html">basic_stringstream</A></SAMP>; |
| |
| template<class charT,class traits=char_traits<charT> > |
| class <SAMP><A HREF="basic-fstream.html">basic_fstream</A></SAMP>; |
| |
| // specializations on tiny characters |
| typedef basic_ios<char> ios; |
| typedef basic_streambuf<char> streambuf; |
| typedef basic_istream<char> istream; |
| typedef basic_ostream<char> ostream; |
| typedef basic_stringbuf<char> stringbuf; |
| typedef basic_istringstream<char> istringstream; |
| typedef basic_ostringstream<char> ostringstream; |
| typedef basic_filebuf<char> filebuf; |
| typedef basic_ifstream<char> ifstream; |
| typedef basic_ofstream<char> ofstream; |
| typedef basic_iostream<char> iostream; |
| typedef basic_stringstream<char> stringstream; |
| typedef basic_fstream<char> fstream; |
| |
| // specializations on wide characters |
| typedef basic_ios<wchar_t> wios; |
| typedef basic_streambuf<wchar_t> wstreambuf; |
| typedef basic_istream<wchar_t> wistream; |
| typedef basic_ostream<wchar_t> wostream; |
| typedef basic_stringbuf<wchar_t> wstringbuf; |
| typedef basic_istringstream<wchar_t> wistringstream; |
| typedef basic_ostringstream<wchar_t> wostringstream; |
| typedef basic_filebuf<wchar_t> wfilebuf; |
| typedef basic_ifstream<wchar_t> wifstream; |
| typedef basic_ofstream<wchar_t> wofstream; |
| typedef basic_iostream<wchar_t> wiostream; |
| typedef basic_stringstream<wchar_t> wstringstream; |
| typedef basic_fstream<wchar_t> wfstream; |
| |
| // positional types used by char_traits |
| typedef fpos<mbstate_t> streampos; |
| typedef fpos<mbstate_t> wstreampos; |
| |
| typedef long streamoff; |
| typedef long wstreamoff; |
| } |
| </PRE> |
| <A NAME="sec4"><H3>See Also</H3></A> |
| <P><B><I><A HREF="fpos.html">fpos</A></I></B>, <B><I><A HREF="char-traits.html">char_traits</A></I></B>, <B><I><A HREF="basic-ios.html">basic_ios</A></I></B>, <B><I><A HREF="basic-streambuf.html">basic_streambuf</A></I></B>, <B><I><A HREF="basic-istream.html">basic_istream</A></I></B>, <B><I><A HREF="basic-ostream.html">basic_ostream</A></I></B>, <B><I><A HREF="basic-iostream.html">basic_iostream</A></I></B>, <B><I><A HREF="basic-stringbuf.html">basic_stringbuf</A></I></B>, <B><I><A HREF="basic-istringstream.html">basic_istringstream</A></I></B>, <B><I><A HREF="basic-ostringstream.html">basic_ostringstream</A></I></B>, <B><I><A HREF="basic-stringstream.html">basic_stringstream</A></I></B>, <B><I><A HREF="basic-filebuf.html">basic_filebuf</A></I></B>, <B><I><A HREF="basic-ifstream.html">basic_ifstream</A></I></B>, <B><I><A HREF="basic-ofstream.html">basic_ofstream</A></I></B>, <B><I><A HREF="basic-fstream.html">basic_fstream</A></I></B>, <B><I><A HREF="istreambuf-iterator.html">istreambuf_iterator</A></I></B>, <B><I><A HREF="ostreambuf-iterator.html">ostreambuf_iterator</A></I></B></P> |
| <A NAME="sec5"><H3>Standards Conformance</H3></A> |
| <P><I>ISO/IEC 14882:1998 -- International Standard for Information Systems --Programming Language C++, Section 27.2</I></P> |
| |
| <BR> |
| <HR> |
| <A HREF="ios-base--failure.html"><IMG SRC="images/bprev.gif" WIDTH=20 HEIGHT=21 ALT="Previous file" BORDER=O></A><A HREF="noframes.html"><IMG SRC="images/btop.gif" WIDTH=56 HEIGHT=21 ALT="Top of Document" BORDER=O></A><A HREF="booktoc.html"><IMG SRC="images/btoc.gif" WIDTH=56 HEIGHT=21 ALT="Contents" BORDER=O></A><A HREF="tindex.html"><IMG SRC="images/bindex.gif" WIDTH=56 HEIGHT=21 ALT="Index page" BORDER=O></A><A HREF="iostream-h.html"><IMG SRC="images/bnext.gif" WIDTH=20 HEIGHT=21 ALT="Next file" BORDER=O></A> |
| |
| <!-- Google Analytics tracking code --> |
| <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> |
| </script> |
| <script type="text/javascript"> |
| _uacct = "UA-1775151-1"; |
| urchinTracker(); |
| </script> |
| <!-- end of Google Analytics tracking code --> |
| |
| </BODY> |
| </HTML> |