c++/2943
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Mon May 28 19:16:00 GMT 2001
Synopsis: method fd() missing in filebuf
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Mon May 28 19:16:32 2001
State-Changed-Why:
gcc 3.0 now has a fully compliant implementatino of the
C++ Standard Library. filebuf does NOT have a method
fd() in the C++ Standard, so it was removed in gcc 3.0.
See:
http://gcc.gnu.org/ml/libstdc++/2001-q1/msg00594.html
I recommend you look at the following example, from the book:
"The C++ Standard Library - A Tutorial and Reference"
by Nicolai M. Josuttis.
http://myweb.onramp.net/~huston/cpp/stdLibIo.txt
Josuttis gives an example of a fdoutbuf class which
extends streambuf, and keeps a reference to a file descriptor.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2943&database=gcc
More information about the Libstdc++
mailing list