Benjamin Kosnik wrote: >Let's start here. > Great! If you want, the following two lines can be removed from the final generic _M_underflow: + if (__testout) + this->_M_out_cur = this->_M_in_cur; Paolo.