By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,421 Members | 1,053 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,421 IT Pros & Developers. It's quick & easy.

Unbuffered basic_streambuf

P: n/a
I was hoping that someone (after my own failures) might post a very mininal
unbuffered derivation of basic_streambuf. My problem is that (even leaving
the buffer pointers to their defaults) uflow() never gets called unless I
define an underflow(). overflow() works as expected but I'm just trying to
start small and I can't even get that done. :(

I have also tried setting the buffer pointers using the _Init() method,
setp( 0, 0 ), setg( 0, 0, 0 ) and it still "seems" to treat my derivation as
a buffered stream.

Please... :P

Jul 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.