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: patch - implementation of stdio_fstream


On Mon, 2004-03-29 at 04:12, Jonathan Wakely wrote:
> On Sun, Mar 28, 2004 at 03:18:14PM -0500, Robert Schweikert wrote:
> 
> > Here we go the legal stuff shold all be taken care off now. Here is the
> > patch implementing an extension to hook the stdio_filbuf up with an
> > stdio_fstream. This allows people to hook streams up to pipes
> > (initialization with fd) and FILE*. Both use cases are really useful but
> > no longer supported by the C++ standard. 
> 
> To be clear, this interface was never part of the C++ Standard, and
> referring to them as "legacy APIs" is IMHO misleading.

OK, "legacy" for me means something that used to work and is no longer
there, for whatever reason. I can see your point w.r.t. your
interpretation.

Robert

>  It's a
> non-standard extension provided by some implementations, including
> libstdc++-v2, but not current libstdc++-v3.
> 
> In the context of software "legacy" implies deprecation or outdated-ness
> to me, but file descriptors are an integral part of POSIX APIs.  Using
> them from C++ programs is useful and desirable, but not un-modern. The
> same holds for FILE*s.
> 
> Of course, this doesn't mean I'm not pleased to see your patch :)
> 
> jon
-- 
Robert Schweikert                   MAY THE SOURCE BE WITH YOU
rjschwei@cox.net                               LINUX



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