Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Unbuffered basic_streambuf

Reply
Thread Tools

Unbuffered basic_streambuf

 
 
Guest
Posts: n/a
 
      08-28-2004
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...

ty


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
templates, typename, and basic_streambuf method return type problems Christopher C++ 1 01-29-2008 07:11 AM
basic_streambuf question sri C++ 2 04-06-2007 01:37 AM
I/O std::basic_streambuf put and get areas? Steven T. Hatton C++ 3 07-03-2005 11:03 PM
Unbuffered basic_streambuf Implementation C++ 1 08-29-2004 04:38 PM
Deriving from std::basic_streambuf C++ 3 08-08-2004 07:40 AM



Advertisments