]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Clarify manual demangle doc
authorJonny Grant <jg@jguk.org>
Sat, 10 Jun 2023 22:03:40 +0000 (23:03 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 14 Jun 2023 14:01:06 +0000 (15:01 +0100)
libstdc++-v3/ChangeLog:

* doc/xml/manual/extensions.xml: Remove demangle exception
description and include.
* doc/html/manual/ext_demangling.html: Regenerate.

libstdc++-v3/doc/html/manual/ext_demangling.html
libstdc++-v3/doc/xml/manual/extensions.xml

index 1e7cdda832668c6ea0551180e923c18a81255d48..b5fb87b91c5d13219bb9b7166f0ff6e61d3cad26 100644 (file)
     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;
index daa98f5cba746b870fc8b5d581002497bb40e583..d4fe2f509d4c6bcccf15a847f8160ca07b4bc693 100644 (file)
@@ -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;