From: Ben Elliston <bje@wasabisystems.com>
To: sid@sources.redhat.com
Subject: Re: PATCH: make trace_stream better preserve std::ofstream semantics
Date: Tue, 20 Jan 2004 01:02:00 -0000 [thread overview]
Message-ID: <877jzntott.fsf@wasabisystems.com> (raw)
In-Reply-To: <vt2r7xvob26.fsf@zenia.home>
Jim Blandy <jimb@redhat.com> writes:
> Rather than subclassing std::ofstream and doing this odd redirection
> stuff, wouldn't it be simpler to just make trace_stream an instance
> of plain old std::ofstream, and then call rdbuf () to set its
> streambuf to either cout's streambuf, or a filebuf for the trace
> file?
Yes, that seems better. Thanks.
Ben
prev parent reply other threads:[~2004-01-20 1:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-19 21:59 Jim Blandy
2004-01-20 1:02 ` Ben Elliston [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877jzntott.fsf@wasabisystems.com \
--to=bje@wasabisystems.com \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).