[Q] Problem with derived from streambuf class

Brad Spencer spencer@infointeractive.com
Wed Oct 20 01:17:00 GMT 2004


On Mon, Oct 18, 2004 at 11:28:55AM +0400, zaufi@sendmail.ru wrote:
> overflow()  is a virtual so I just redefine it in my syslogbuf to append __c 
> to string -- now its work fine bcouse basic_streambuf::sputc() call it if 
> pptr() == 0 (my case)...
> I found this solution after reading one link which I found in source code 
> comments ;)

FWIW, you might also check out this old posting, albeit single-threaded:

http://gcc.gnu.org/ml/libstdc++/2004-04/msg00146.html

-- 
------------------------------------------------------------------
Brad Spencer - spencer@infointeractive.com - "It's quite nice..."
Systems Architect | InfoInterActive Corp. | A Canadian AOL Company



More information about the Libstdc++ mailing list