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


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.


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