[gcc r14-1809] libstdc++: Clarify manual demangle doc

Jonathan Wakely redi@gcc.gnu.org
Wed Jun 14 14:02:19 GMT 2023


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 <exception>
 #include <iostream>
 #include <cstdlib>
 #include <cxxabi.h>
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 <exception>
 #include <iostream>
 #include <cstdlib>
 #include <cxxabi.h>


More information about the Gcc-cvs mailing list