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]

Re: The mysterious _M_output_unshift


>As part of this I would really appreciate some help about the
>rationale behind basic_filebuf::_M_output_unshift, currently
>completely empty, and also about this code in basic_filebuf::close:

It's a placeholder. See:

27.8.1.3 - Member functions p 6

"calls a_codecvt.unshift (possibly several times) to determine a
termination sequence, inserts those characters and calls overflow(EOF)
again"

-benjamin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]