Fix text of hyperlink in manual
authorJonathan Wakely <jwakely@redhat.com>
Fri, 8 Mar 2019 13:56:53 +0000 (13:56 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 8 Mar 2019 13:56:53 +0000 (13:56 +0000)
* doc/xml/manual/using.xml: Use link element instead of xref.
* doc/html/*: Regenerate.

From-SVN: r269494

libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/using_macros.html
libstdc++-v3/doc/xml/manual/using.xml

index e752285..7da2594 100644 (file)
@@ -1,5 +1,8 @@
 2019-03-08  Jonathan Wakely  <jwakely@redhat.com>
 
+       * doc/xml/manual/using.xml: Use link element instead of xref.
+       * doc/html/*: Regenerate.
+
        * include/bits/fs_path.h (path::format): Add fixed underlying type.
 
 2019-03-08  François Dumont  <fdumont@gcc.gnu.org>
index 7030bd2..dad6564 100644 (file)
         enabled for
         <code class="classname">std::vector&lt;T, std::allocator&lt;T&gt;&gt;</code>
         and only when <code class="classname">std::allocator</code> is derived from
-        <a class="xref" href="memory.html#allocator.impl" title="Implementation">the section called “Implementation”</a>. The annotations
+        <a class="link" href="memory.html#allocator.impl" title="Implementation"><code class="classname">new_allocator</code>
+        or <code class="classname">malloc_allocator</code></a>. The annotations
         must be present on all vector operations or none, so this macro must
         be defined to the same value for all translation units that create,
         destroy or modify vectors.
index 2d44a73..7647e9b 100644 (file)
@@ -1192,8 +1192,8 @@ g++ -Winvalid-pch -I. -include stdc++.h -H -g -O2 hello.cc -o test.exe
         enabled for
         <classname>std::vector&lt;T, std::allocator&lt;T&gt;&gt;</classname>
         and only when <classname>std::allocator</classname> is derived from
-        <xref linkend="allocator.impl"><classname>new_allocator</classname>
-        or <classname>malloc_allocator</classname></xref>. The annotations
+        <link linkend="allocator.impl"><classname>new_allocator</classname>
+        or <classname>malloc_allocator</classname></link>. The annotations
         must be present on all vector operations or none, so this macro must
         be defined to the same value for all translation units that create,
         destroy or modify vectors.