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]
Other format: [Raw text]

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


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


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