Andre Poenitz <[EMAIL PROTECTED]> writes:

| On Tue, Nov 26, 2002 at 04:13:48PM +0100, Lars Gullik Bjønnes wrote:
>> | Yes, the math streams. Currently they wrap an ostream and implement
>> | operator<< individually to delegate work.
>> 
>> yes... the operator<< for string is missing...
>
| It's in another header as it is rarely used.
>
>> | This should be done using
>> | streambufs which is said to be the Right Solution.
>> 
>> yes, and it is not even hard...
>
| So please tell my how.

Did you say why

class MathStream : public ostream {
      MathStream(ostream & os) {
            ostream::rdbuf(os.rdbuf());
      }
}; 

did not work?

Or somethig very close to this?
(ok this does not cover it all I guess...)

-- 
        Lgb

Reply via email to