This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Bug in libstdc++ documentation
- From: Chris Frey <cdfrey at foursquare dot net>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 10 Oct 2005 05:21:01 -0400
- Subject: Bug in libstdc++ documentation
Hi,
Quick bug report. The sample code for #include <iosfwd> located here:
http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10
is incorrect. std::ifstream is used in the example to declare a full
type, instead of a reference or pointer, and that doesn't compile with
just <iosfwd>.
- Chris