[Q] Problem with derived from streambuf class

Paolo Carlini pcarlini@suse.de
Sat Oct 16 21:15:00 GMT 2004


zaufi@sendmail.ru wrote:

>As I see in your cite standart say nothing about should rdbuf->sputc() be 
>virtual or not ... ;)
>  
>
Sorry, I'm not sure to get right your smiley. To be sure, 
streambuf::sputc is
definitely not virtual (27.5.2.2.5): making it virtual would kill 
performance.

Paolo.



More information about the Libstdc++ mailing list