> Sory about stupid question.
It would have been a good question if you told us the class of these
(member) functions. I assume you are talking about the members of
std::basic_stre ambuf and derived classes.
What are differences between uflow and underflow functions ?
Pls explains.
This is what the standard has to say about it:
int_type uflow();
Requires: The constraints are the same as for underflow(), except that
the result character is trans-ferred
from the pending sequence to the backup sequence, and the pending
sequence may not be empty
before the transfer.
Default behavior: Calls underflow(). If underflow() returns
traits::eof(), returns
traits::eof(). Otherwise, returns the value of
traits::to_int_ type(*gptr()) and
increment the value of the next pointer for the input sequence.
Returns: traits::eof() to indicate failure.
--
Peter van Merkerk
peter.van.merke rk(at)dse.nl