------- Comment #2 from paolo dot carlini at oracle dot com 2008-12-27 09:21 ------- To clarify: I don't see anything in the Standard forbidding the use of rdbuf()->sgetn in the implementation of istream::read. Actually, I would argue is the natural choice for carrying out the core work. Then, however, everything bis equivalent per the Standard to a series of sbumpc and uflow (not underflow) must be provided by the user.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38476