[wwwdocs] Factor out C++0x

Doug Gregor doug.gregor@gmail.com
Fri Apr 20 15:58:00 GMT 2007


Oops, here is the new HTML document containing information about the
experimental C++0x mode.

<html>

<head>
<title>Status of Experimental C++0x Support in GCC 4.3</title>
</head>

<body>
<h1>Status of Experimental C++0x Support in GCC</h1>

<p>GCC provides experimental support for the upcoming ISO C++
  standard, C++0x.  This support can be enabled with the
  <code>-std=c++0x</code> or <code>-std=gnu++0x</code> compiler
  options; the former disables GNU extensions.</p>

<p>GCC's C++0x mode tracks the C++0x working paper drafts produced by
the ISO C++ committee, available on the ISO C++ committee's web site
at <a
href="http://www.open-std.org/jtc1/sc22/wg21/">http://www.open-std.org/jtc1/sc22/wg21/</a>.
Since
this standard is still being extended and modified, the feature set
provided by the experimental C++0x mode may vary greatly from one GCC
version to another. No attempts will be made to preserve backward
compatibility with C++0x features whose semantics have changed during
the course of C++0x standardization.</p>

<p>The following C++0x
  features are enabled by the C++0x experimental mode:</p>

<ul>
  <li><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html">Static
  assertions</a></li> <li><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm">C99
  preprocessor</a></li> <li><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html">Right
  angle brackets</a></li> <li><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226">Default
  template arguments for function templates</a></li> <li><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2152.pdf">Variadic
  templates</a> </li> <li>
  Headers <array>, <random>, <regex>, <tuple>,
  <type_traits>, <unordered_map>, and
  <unordered_set>. Plus, headers for C compatibility:
  <ccomplex>, <cfenv>, <cinttypes>,
  <cstdbool>, <cstdint>, and <ctgmath>. </li> </ul>
  </li>
</ul>


</body>
</html>

On 4/20/07, Doug Gregor <doug.gregor@gmail.com> wrote:
> This patch moves the description of the experimental C++0x mode into a
> separate HTML document (attached), and makes changes.html link to it
> instead of enumerating all of the capabilities in changes.html.
>
> I'll wait a couple of days before committing this.
>
>   Cheers,
>   Doug
>
>
> Index: changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
> retrieving revision 1.47
> diff -u -r1.47 changes.html
> --- changes.html        19 Apr 2007 15:29:23 -0000      1.47
> +++ changes.html        20 Apr 2007 15:14:39 -0000
> @@ -170,30 +170,7 @@
>
>  <h3>C++</h3>
>    <ul>
> -    <li>Experimental support for the upcoming ISO C++ standard, C++0x,
> -  has been added. This support can be enabled with the
> -  <code>-std=c++0x</code> or <code>-std=gnu++0x</code> compiler
> -  options; the former disables GNU extensions. The following C++0x
> -  features are enabled by this experimental mode:
> -  <ul>
> -    <li><a
> -  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html">Static
> -  assertions</a></li>
> -    <li><a
> -  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm">C99
> -  preprocessor</a></li>
> -    <li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html">Right
> angle brackets</a></li>
> -    <li><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226">Default
> template arguments for function templates</a></li>
> -    <li><a
> -    href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2152.pdf">Variadic
> -    templates</a> (only enabled by <code>-std=gnu++0x</code>)</li>
> -    <li> Headers <array>, <random>, <regex>,
> -    <tuple>, <type_traits>, <unordered_map>, and
> -    <unordered_set>. Plus, headers for C compatibility:
> -    <ccomplex>, <cfenv>, <cinttypes>,
> -    <cstdbool>, <cstdint>, and <ctgmath>. </li>
> -    </ul>
> -  </li>
> +  <li><a href="cxx0x_status.html">Experimental support for the
> upcoming ISO C++ standard, C++0x</a>.</li>
>
>    <li><code>-Wc++0x-compat</code> has been added and is now enabled by
>    default for <code>-Wall</code>. It produces warnings for constructs
>



More information about the Gcc-patches mailing list