[wwwdocs] gcc-4.9/changes.html - replace use of <tt>
Gerald Pfeifer
gerald@pfeifer.com
Sun Sep 2 20:48:00 GMT 2018
...with </code>, which should render this page HTML 5 compliant.
Committed.
Gerald
Index: gcc-4.9/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.9/changes.html,v
retrieving revision 1.94
diff -u -r1.94 changes.html
--- gcc-4.9/changes.html 1 Sep 2018 23:42:05 -0000 1.94
+++ gcc-4.9/changes.html 2 Sep 2018 20:46:25 -0000
@@ -222,8 +222,10 @@
The G++ implementation of <a href="../projects/cxx1y.html">C++1y</a> return type deduction for normal
functions has been updated to conform to
<a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3638.html">N3638</a>,
- the proposal accepted into the working paper. Most notably, it adds <tt>decltype(auto)</tt> for
- getting <tt>decltype</tt> semantics rather than the template argument deduction semantics of plain <tt>auto</tt>:
+ the proposal accepted into the working paper. Most notably, it adds
+ <code>decltype(auto)</code> for getting <code>decltype</code> semantics
+ rather than the template argument deduction semantics of plain
+ <code>auto</code>:
<blockquote><pre>
int& f();
auto i1 = f(); // int
@@ -236,8 +238,8 @@
[x = 42]{ ... };
</pre></blockquote>
Actually, they have been accepted since GCC 4.5, but now the compiler doesn't
-warn about them with <tt>-std=c++1y</tt>, and supports parenthesized and
-brace-enclosed initializers as well.
+warn about them with <code>-std=c++1y</code>, and supports parenthesized
+and brace-enclosed initializers as well.
</li>
<li>
G++ supports <a href="../projects/cxx1y.html">C++1y</a> variable length
@@ -245,7 +247,7 @@
additionally supports initializers and lambda capture by reference. In
C++1y mode G++ will complain about VLA uses that are not permitted by
the draft standard, such as forming a pointer to VLA type or
- applying <tt>sizeof</tt> to a VLA variable. Note that it now appears
+ applying <code>sizeof</code> to a VLA variable. Note that it now appears
that VLAs will not be part of C++14, but will be part of a separate
document and then perhaps C++17.
<blockquote><pre>
More information about the Gcc-patches
mailing list