This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
__gnu_cxx::stdio_filebuf constructor
- From: David Carlton <carlton at kealia dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 06 May 2004 09:53:02 -0700
- Subject: __gnu_cxx::stdio_filebuf constructor
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