This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> + if(__testout && !_M_reading && this->_M_buf_size == 1He! What I wrote works as is only for the unbuffered case (_M_buf_size == 1), and with further tweaks (like those you proposed) would fix nicely 11378, which is about that.
Should this be _M_buf_size >= 1?
> + && __check_facet(_M_codecvt).always_noconv())Thanks!
always_noconv() is another virtual. The answer to this could be cached in a bool. That will avoid the __check_facet test and the virtual call.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |