[Q] Problem with derived from streambuf class

Paolo Carlini pcarlini@suse.de
Sun Oct 17 21:27:00 GMT 2004


Paolo Carlini wrote:

> Therefore, in implementing it, you would directly use 
> syslogbuf::sputc() ...

Sorry, actually, you should use sputn() for that: the correct 
syslogbuf::xsputn()
will be automatically picked...

Paolo.



More information about the Libstdc++ mailing list