Connecting Tech Pros Worldwide Help | Site Map

uflow() vs underflow()

  #1  
Old July 23rd, 2005, 05:52 AM
Alan Johnson
Guest
 
Posts: n/a
The std::streambuf class defines both of these functions as virtual, and
they are apparently meant to be overloaded in derived classes to get
more characters from an input sequence. Could someone explain what the
difference between the two is, please?

Alan
  #2  
Old July 23rd, 2005, 05:53 AM
James Daughtry
Guest
 
Posts: n/a

re: uflow() vs underflow()


underflow doesn't consume characters while uflow does.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
unget vs. putback Kevin Saff answers 9 July 19th, 2005 08:10 PM