public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1809] libstdc++: Clarify manual demangle doc
@ 2023-06-14 14:02 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2023-06-14 14:02 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:29aef9ff236022ebf566738f9bd08bb5e28fe6ca

commit r14-1809-g29aef9ff236022ebf566738f9bd08bb5e28fe6ca
Author: Jonny Grant <jg@jguk.org>
Date:   Sat Jun 10 23:03:40 2023 +0100

    libstdc++: Clarify manual demangle doc
    
    libstdc++-v3/ChangeLog:
    
            * doc/xml/manual/extensions.xml: Remove demangle exception
            description and include.
            * doc/html/manual/ext_demangling.html: Regenerate.

Diff:
---
 libstdc++-v3/doc/html/manual/ext_demangling.html | 6 ++----
 libstdc++-v3/doc/xml/manual/extensions.xml       | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/libstdc++-v3/doc/html/manual/ext_demangling.html b/libstdc++-v3/doc/html/manual/ext_demangling.html
index 1e7cdda8326..b5fb87b91c5 100644
--- a/libstdc++-v3/doc/html/manual/ext_demangling.html
+++ b/libstdc++-v3/doc/html/manual/ext_demangling.html
@@ -20,11 +20,9 @@
     whole point of abstract interfaces.  If we change the implementation,
     you won't notice.)
   </p><p>
-    Probably the only times you'll be interested in demangling at runtime
-    are when you're seeing <code class="code">typeid</code> strings in RTTI, or when
-    you're handling the runtime-support exception classes.  For example:
+    Probably the only time you'll be interested in demangling at runtime
+    is when you're seeing <code class="code">typeid</code> strings in RTTI.  For example:
   </p><pre class="programlisting">
-#include &lt;exception&gt;
 #include &lt;iostream&gt;
 #include &lt;cstdlib&gt;
 #include &lt;cxxabi.h&gt;
diff --git a/libstdc++-v3/doc/xml/manual/extensions.xml b/libstdc++-v3/doc/xml/manual/extensions.xml
index daa98f5cba7..d4fe2f509d4 100644
--- a/libstdc++-v3/doc/xml/manual/extensions.xml
+++ b/libstdc++-v3/doc/xml/manual/extensions.xml
@@ -514,12 +514,10 @@ get_temporary_buffer(5, (int*)0);
     you won't notice.)
   </para>
   <para>
-    Probably the only times you'll be interested in demangling at runtime
-    are when you're seeing <code>typeid</code> strings in RTTI, or when
-    you're handling the runtime-support exception classes.  For example:
+    Probably the only time you'll be interested in demangling at runtime
+    is when you're seeing <code>typeid</code> strings in RTTI.  For example:
   </para>
    <programlisting>
-#include &lt;exception&gt;
 #include &lt;iostream&gt;
 #include &lt;cstdlib&gt;
 #include &lt;cxxabi.h&gt;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-14 14:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14 14:02 [gcc r14-1809] libstdc++: Clarify manual demangle doc Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).