Re: Redirecting cout to a TextBuffer
- From: "Søren Hauberg" <hauberg gmail com>
- To: "Charles McLachlan" <cim20 metropolis-data co uk>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Redirecting cout to a TextBuffer
- Date: Wed, 14 May 2008 15:01:07 +0200
2008/5/12 Charles McLachlan <cim20 metropolis-data co uk>:
> If the above code works (its an interesting idea that I have not seen
> before), then my advice would be subclass your own streambuf. You'll need to
> overload the the sync and overflow members. These have slightly weird
> actions and (on first viewing) appear non trivial.
I haven't had the time to actually implement this, but it seems just
like the approach I was looking for.
Thanks,
Søren
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]