__gnu_cxx::stdio_filebuf constructor

David Carlton carlton@kealia.com
Thu May 6 16:53:00 GMT 2004


When upgrading from GCC 3.2.3 to GCC 3.4.0, I noticed that you'd
changed the __gnu_cxx::stdio_filebuf constructor to get rid of the
'del' argument.  The comment above ~stdio_filebuf(), however, still
refers to that argument, making it hard for me to figure out if the
new behavior is the same as if del=true or del=false!  Looking at the
patch in bug 11691, it looks like the behavior is the same as del=true
(which is the behavior I want, fortunately), but you might want to
update the comment in the header file accordingly.

I was also confused by the fact that the only documentation I found
for this on the GCC web site (admittedly, I didn't look _that_ hard)
was the doxygen-generated documentation, which is several months old,
and reflects the old interface.  Perhaps it should be updated to
reflect the current status of libstdc++?

David Carlton
carlton@kealia.com



More information about the Libstdc++ mailing list