Commit 92bf1382 by Jonathan Wakely Committed by Jonathan Wakely

re PR libstdc++/59698 (The type of NULL is described elsewhere)

	PR libstdc++/59698
	* doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
	and stylistic improvements.
	* doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
	and update for C++11.
	* doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.

From-SVN: r206524
parent 5e6667b2
2014-01-10 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/59698
* doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
and stylistic improvements.
* doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
and update for C++11.
* doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.
2014-01-09 Jonathan Wakely <jwakely@redhat.com> 2014-01-09 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/59738 PR libstdc++/59738
......
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
<para> <para>
For the required specialization codecvt&lt;wchar_t, char, mbstate_t&gt; , For the required specialization <classname>codecvt&lt;wchar_t, char, mbstate_t&gt;</classname>,
conversions are made between the internal character set (always UCS4 conversions are made between the internal character set (always UCS4
on GNU/Linux) and whatever the currently selected locale for the on GNU/Linux) and whatever the currently selected locale for the
LC_CTYPE category implements. <code>LC_CTYPE</code> category implements.
</para> </para>
<para> <para>
...@@ -45,8 +45,10 @@ ctype&lt;wchar_t&gt; ...@@ -45,8 +45,10 @@ ctype&lt;wchar_t&gt;
<para> <para>
This specialization, by specifying all the template parameters, pretty This specialization, by specifying all the template parameters, pretty
much ties the hands of implementors. As such, the implementation is much ties the hands of implementors. As such, the implementation is
straightforward, involving mcsrtombs for the conversions between char straightforward, involving <function>mcsrtombs</function> for the
to wchar_t and wcsrtombs for conversions between wchar_t and char. conversions between <type>char</type> to <type>wchar_t</type> and
<function>wcsrtombs</function> for conversions between <type>wchar_t</type>
and <type>char</type>.
</para> </para>
<para> <para>
...@@ -69,7 +71,8 @@ characters. ...@@ -69,7 +71,8 @@ characters.
<listitem> <listitem>
<para> <para>
How to deal with different types than char, wchar_t? </para></listitem> How to deal with types other than <type>char</type>, <type>wchar_t</type>?
</para></listitem>
<listitem><para> <listitem><para>
Overlap between codecvt/ctype: narrow/widen Overlap between codecvt/ctype: narrow/widen
...@@ -77,8 +80,8 @@ characters. ...@@ -77,8 +80,8 @@ characters.
<listitem> <listitem>
<para> <para>
Mask typedef in codecvt_base, argument types in codecvt. what <type>mask</type> typedef in <classname>codecvt_base</classname>,
is know about this type? argument types in <type>codecvt</type>. what is know about this type?
</para></listitem> </para></listitem>
<listitem> <listitem>
...@@ -95,10 +98,11 @@ characters. ...@@ -95,10 +98,11 @@ characters.
<listitem> <listitem>
<para> <para>
Get the ctype&lt;wchar_t&gt;::mask stuff under control. Need to Get the <type>ctype&lt;wchar_t&gt;::mask</type> stuff under control.
make some kind of static table, and not do lookup every time Need to make some kind of static table, and not do lookup every time
somebody hits the do_is... functions. Too bad we can't just somebody hits the <code>do_is...</code> functions. Too bad we can't
redefine mask for ctype&lt;wchar_t&gt; just redefine <type>mask</type> for
<classname>ctype&lt;wchar_t&gt;</classname>
</para></listitem> </para></listitem>
<listitem> <listitem>
......
...@@ -1075,7 +1075,7 @@ particular release. ...@@ -1075,7 +1075,7 @@ particular release.
in the sections where the function itself occurs. in the sections where the function itself occurs.
--> -->
<para><emphasis>[18.1]/4</emphasis> The type of <code>NULL</code> is described <para><emphasis>[18.1]/4</emphasis> The type of <code>NULL</code> is described
<link linkend="std.support.types.null">here</link>. under <link linkend="std.support.types.null">Support</link>.
</para> </para>
<para><emphasis>[18.3]/8</emphasis> Even though it's listed in the library <para><emphasis>[18.3]/8</emphasis> Even though it's listed in the library
sections, libstdc++ has zero control over what the cleanup code hands sections, libstdc++ has zero control over what the cleanup code hands
...@@ -1107,9 +1107,10 @@ particular release. ...@@ -1107,9 +1107,10 @@ particular release.
implementations, any requirements imposed on allocators by containers implementations, any requirements imposed on allocators by containers
beyond those requirements that appear in Table 32, and the semantics beyond those requirements that appear in Table 32, and the semantics
of containers and algorithms when allocator instances compare of containers and algorithms when allocator instances compare
non-equal, are implementation-defined."</emphasis> As yet we don't non-equal, are implementation-defined."</emphasis> There is experimental
have any allocators which compare non-equal, so we can't describe how support for non-equal allocators in the standard containers in C++98
they behave. mode. There are no additional requirements on allocators. It is undefined
behaviour to swap two containers if their allocators are not equal.
</para> </para>
<para><emphasis>[21.1.3.1]/3,4</emphasis>, <para><emphasis>[21.1.3.1]/3,4</emphasis>,
<emphasis>[21.1.3.2]/2</emphasis>, <emphasis>[21.1.3.2]/2</emphasis>,
...@@ -1121,16 +1122,16 @@ particular release. ...@@ -1121,16 +1122,16 @@ particular release.
here would defeat the purpose. :-) here would defeat the purpose. :-)
</para> </para>
<para><emphasis>[21.1.3.1]/5</emphasis> I don't really know about <para><emphasis>[21.1.3.1]/5</emphasis> I don't really know about
the mbstate_t stuff... see the <type>mbstate_t</type> stuff... see
the <link linkend="std.localization.facet.codecvt">chapter 22 the <link linkend="std.localization.facet.codecvt"><code>codecvt</code>
notes</link> for what does exist. notes</link> for what does exist.
</para> </para>
<para><emphasis>[22.*]</emphasis> Anything and everything we have on locale <para><emphasis>[22.*]</emphasis> Anything and everything we have on locale
implementation will be described implementation will be described under
<link linkend="std.localization.locales.locale">over here</link>. <link linkend="std.localization.locales.locale">Localization</link>.
</para> </para>
<para><emphasis>[26.2.8]/9</emphasis> I have no idea what <para><emphasis>[26.2.8]/9</emphasis> I have no idea what
<code>complex&lt;T&gt;</code>'s pow(0,0) returns. <code>complex&lt;T&gt;</code>'s <code>pow(0,0)</code> returns.
</para> </para>
<para><emphasis>[27.4.2.4]/2</emphasis> Calling <para><emphasis>[27.4.2.4]/2</emphasis> Calling
<code>std::ios_base::sync_with_stdio</code> after I/O has already been <code>std::ios_base::sync_with_stdio</code> after I/O has already been
...@@ -1138,8 +1139,8 @@ particular release. ...@@ -1138,8 +1139,8 @@ particular release.
flush the buffers, and <!-- this line might go away --> flush the buffers, and <!-- this line might go away -->
destroy and recreate the underlying buffer instances. Whether or not destroy and recreate the underlying buffer instances. Whether or not
the previously-written I/O is destroyed in this process depends mostly the previously-written I/O is destroyed in this process depends mostly
on the --enable-libio choice: for stdio, if the written data is on the <code>--enable-libio</code> choice: for stdio, if the written
already in the stdio buffer, the data may be completely safe! data is already in the stdio buffer, the data may be completely safe!
</para> </para>
<para><emphasis>[27.6.1.1.2]</emphasis>, <para><emphasis>[27.6.1.1.2]</emphasis>,
<emphasis>[27.6.2.3]</emphasis> The I/O sentry ctor and dtor can perform <emphasis>[27.6.2.3]</emphasis> The I/O sentry ctor and dtor can perform
...@@ -1148,8 +1149,8 @@ particular release. ...@@ -1148,8 +1149,8 @@ particular release.
</para> </para>
<para><emphasis>[27.7.1.3]/16</emphasis>, <para><emphasis>[27.7.1.3]/16</emphasis>,
<emphasis>[27.8.1.4]/10</emphasis> <emphasis>[27.8.1.4]/10</emphasis>
The effects of <code>pubsetbuf/setbuf</code> are described The effects of <code>pubsetbuf/setbuf</code> are described in the
<link linkend="std.io">in this chapter</link>. <link linkend="std.io">Input and Output</link> chapter.
</para> </para>
<para><emphasis>[27.8.1.4]/16</emphasis> Calling <code>fstream::sync</code> when <para><emphasis>[27.8.1.4]/16</emphasis> Calling <code>fstream::sync</code> when
a get area exists will... whatever <code>fflush()</code> does, I think. a get area exists will... whatever <code>fflush()</code> does, I think.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment