This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Version number misery
Carlo Wood <carlo@alinoe.com> writes:
| On Thu, May 17, 2001 at 11:54:42AM +0200, Gabriel Dos Reis wrote:
| > Carlo Wood <carlo@alinoe.com> writes:
| >
| > | Grrmbl,
| > |
| > | as if it isn't hard enough for me already that you guys
| > | changed the signature of basic_filebuf three times in
| > | the past months - it seems that __GLIBCPP__ wasn't updated :/
| >
| > That constructor is not standard and you should not depend on it.
| > Actually, you should not depend on V3 internals.
|
| Thanks to all for replying... but I need an ostream that writes
| to a pipe :/. The standard simply doesn't provide a way to link
| an open fd (returned by the pipe(2)) to an ofstream.
Why don't you define a basic_streambuf<> which reads/writes from a pipe?
basic_streambuf<>s are one of the important extension points of IOStreams.
I encourage you not to depend on V3's particular internal details
because things are far from being frozen and could be changed.
-- Gaby