diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-09-14 13:48:25 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-09-14 19:17:36 +0100 |
commit | 8b1bc3051bd68ce193a8612fa3b1a65c0353b5b0 (patch) | |
tree | 61c7683606e2c1b406e6a5e97c3fa35f885a1aab | |
parent | 93257ed603d72b58bb2616da5b63c4c6737f424b (diff) | |
download | gcc-8b1bc3051bd68ce193a8612fa3b1a65c0353b5b0.zip gcc-8b1bc3051bd68ce193a8612fa3b1a65c0353b5b0.tar.gz gcc-8b1bc3051bd68ce193a8612fa3b1a65c0353b5b0.tar.bz2 |
libstdc++: Document LWG 1203 API change in manual
libstdc++-v3/ChangeLog:
* doc/xml/manual/intro.xml: Document LWG 1203.
* doc/html/*: Regenerate.
-rw-r--r-- | libstdc++-v3/doc/html/manual/bugs.html | 3 | ||||
-rw-r--r-- | libstdc++-v3/doc/html/manual/debug_mode_using.html | 7 | ||||
-rw-r--r-- | libstdc++-v3/doc/html/manual/using_macros.html | 5 | ||||
-rw-r--r-- | libstdc++-v3/doc/xml/manual/intro.xml | 6 |
4 files changed, 20 insertions, 1 deletions
diff --git a/libstdc++-v3/doc/html/manual/bugs.html b/libstdc++-v3/doc/html/manual/bugs.html index 38594a9..384fe8d 100644 --- a/libstdc++-v3/doc/html/manual/bugs.html +++ b/libstdc++-v3/doc/html/manual/bugs.html @@ -357,6 +357,9 @@ <span class="emphasis"><em>More algorithms that throw away information</em></span> </span></dt><dd><p>The traditional HP / SGI return type and value is blessed by the resolution of the DR. + </p></dd><dt><a id="manual.bugs.dr1203"></a><span class="term"><a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#1203" target="_top">1203</a>: + <span class="emphasis"><em>More useful rvalue stream insertion</em></span> + </span></dt><dd><p>Return the stream as its original type, not the base class. </p></dd><dt><a id="manual.bugs.dr1339"></a><span class="term"><a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#1339" target="_top">1339</a>: <span class="emphasis"><em>uninitialized_fill_n should return the end of its range</em></span> </span></dt><dd><p>Return the end of the filled range. diff --git a/libstdc++-v3/doc/html/manual/debug_mode_using.html b/libstdc++-v3/doc/html/manual/debug_mode_using.html index 4deb498..e26d06c 100644 --- a/libstdc++-v3/doc/html/manual/debug_mode_using.html +++ b/libstdc++-v3/doc/html/manual/debug_mode_using.html @@ -9,7 +9,12 @@ units.</p><p>By default, error messages are formatted to fit on lines of about 78 characters. The environment variable <code class="code">GLIBCXX_DEBUG_MESSAGE_LENGTH</code> can be used to request a - different length.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="debug_mode.using.specific"></a>Using a Specific Debug Container</h3></div></div></div><p>When it is not feasible to recompile your entire application, or + different length.</p><p>Note that libstdc++ is able to produce backtraces on error. + It requires that you configure libstdc++ build with + <code class="option">--enable-libstdcxx-backtrace=yes</code>. + Use <code class="code">-D_GLIBCXX_DEBUG_BACKTRACE</code> to activate it. + You'll then have to link with libstdc++_libbacktrace static library + (<code class="option">-lstdc++_libbacktrace</code>) to build your application.</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="debug_mode.using.specific"></a>Using a Specific Debug Container</h3></div></div></div><p>When it is not feasible to recompile your entire application, or only specific containers need checking, debugging containers are available as GNU extensions. These debugging containers are functionally equivalent to the standard drop-in containers used in diff --git a/libstdc++-v3/doc/html/manual/using_macros.html b/libstdc++-v3/doc/html/manual/using_macros.html index edbbd03..9823046 100644 --- a/libstdc++-v3/doc/html/manual/using_macros.html +++ b/libstdc++-v3/doc/html/manual/using_macros.html @@ -95,6 +95,11 @@ the <a class="link" href="debug_mode.html" title="Chapter 17. Debug Mode">debug mode</a>, makes the debug mode extremely picky by making the use of libstdc++ extensions and libstdc++-specific behavior into errors. + </p></dd><dt><span class="term"><code class="code">_GLIBCXX_DEBUG_BACKTRACE</code></span></dt><dd><p> + Undefined by default. Considered only if libstdc++ has been configured with + <code class="option">--enable-libstdcxx-backtrace=yes</code> and if <code class="code">_GLIBCXX_DEBUG</code> + is defined. When defined display backtraces on + <a class="link" href="debug_mode.html" title="Chapter 17. Debug Mode">debug mode</a> assertions. </p></dd><dt><span class="term"><code class="code">_GLIBCXX_PARALLEL</code></span></dt><dd><p>Undefined by default. When defined, compiles user code using the <a class="link" href="parallel_mode.html" title="Chapter 18. Parallel Mode">parallel mode</a>. diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml index 290e5d3..d341c3e 100644 --- a/libstdc++-v3/doc/xml/manual/intro.xml +++ b/libstdc++-v3/doc/xml/manual/intro.xml @@ -852,6 +852,12 @@ requirements of the license of GCC. by the resolution of the DR. </para></listitem></varlistentry> + <varlistentry xml:id="manual.bugs.dr1203"><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&DR;#1203">1203</link>: + <emphasis>More useful rvalue stream insertion</emphasis> + </term> + <listitem><para>Return the stream as its original type, not the base class. + </para></listitem></varlistentry> + <varlistentry xml:id="manual.bugs.dr1339"><term><link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&DR;#1339">1339</link>: <emphasis>uninitialized_fill_n should return the end of its range</emphasis> </term> |