This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Q] Problem with derived from streambuf class


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]