[v3] remove non-standard basic_filebuf members, fd, FILE filebufs

Nathan Myers ncm-nospam@cantrip.org
Tue Apr 30 12:20:00 GMT 2002


On Tue, Apr 30, 2002 at 06:28:32PM +0100, Jason Merrill wrote:
> >>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:
> 
> > About the rest of the patch though: what say you?
> 
> Separating out the stdio interfaces by derivation makes sense to me.  I
> think one derived class is enough, and favor the name c_filebuf, though I
> don't much care.

I like that it keeps the FILE* interface separate from the file
descriptor version.  On some platforms they may have very different
implementations.  

Also, frankly, I find the FILE* version more-or-less useless.  
I can live with names c_filebuf, FILE_filebuf, c_file_buf, or 
stdio_filebuf for that version.  I prefer the last as clearest.

Nathan Myers
ncm at cantrip dot org



More information about the Libstdc++ mailing list