This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: The mysterious _M_output_unshift
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org, ncm at cantrip dot org
- Date: Mon, 21 Apr 2003 12:06:43 -0500
- Subject: Re: The mysterious _M_output_unshift
- References: <3EA3BB16.5000502@unitus.it>
>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