This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: c++/2943


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]