[wwwdocs] Document C++0x branch

Doug Gregor doug.gregor@gmail.com
Tue Apr 24 21:46:00 GMT 2007


I've just committed this documentation patch, which describes the new
C++0x branch (cxx0x-branch) and its contents.

  - Doug

Index: htdocs/svn.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/svn.html,v
retrieving revision 1.48
diff -u -r1.48 svn.html
--- htdocs/svn.html	19 Apr 2007 18:39:58 -0000	1.48
+++ htdocs/svn.html	24 Apr 2007 21:09:02 -0000
@@ -458,6 +458,15 @@

 <dl>

+  <dt><a href="projects/cxx0x.html">cxx0x-branch</a></dt>
+  <dd>This branch contains implementations of new features present in
+    C++0x, the upcoming revision of the ISO C++ standard due at the
+    end of the decade. This branch is maintained by Douglas Gregor
+    <<a
+    href="mailto:doug.gregor@gmail.com">doug.gregor@gmail.com</a>>
+    and Jason Merrill
+    <<a href="jason@redhat.com">jason@redhat.com</a>>.</dd>
+
   <dt><a href="projects/cxx-reflection/">cxx-reflection-branch</a></dt>
   <dd>Part of the work on providing support for compile time reflection
   in C++ is done in this branch.  This branch is maintained by Gabriel
Index: htdocs/gcc-4.3/cxx0x_status.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/cxx0x_status.html,v
retrieving revision 1.2
diff -u -r1.2 cxx0x_status.html
--- htdocs/gcc-4.3/cxx0x_status.html	21 Apr 2007 16:14:43 -0000	1.2
+++ htdocs/gcc-4.3/cxx0x_status.html	24 Apr 2007 21:09:02 -0000
@@ -5,7 +5,7 @@
 </head>

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

 <p>GCC provides experimental support for the upcoming ISO C++
   standard, C++0x.  This support can be enabled with the


New file: htdocs/projects/cxx0x.html

<html>
<head>
<title>C++0x Language Support in GCC</title>
</head>

<body>
  <h1>C++0x Language Support in GCC</h1>

  <p>C++0x is the working name of the next ISO C++ standard, due by
  the end of this decade, which introduces a host of new features into
  the standard C++ language and library. This project seeks to
  implement new C++0x features in GCC and to make it one of the first
  compilers to bring C++0x to C++ programmers.</p>

  <p>C++0x features are available both as part of the "mainline" GCC
  compiler and on the C++0x branch in the Subversion repository. For
  the mainline compiler, one should use the
  flags <code>-std=gnu++0x</code> or <code>-std=c++0x</code> to
  request C++0x features. In the branch C++0x
  compiler, <code>-std=gnu++0x</code> is the default. Moreover, the
  branch C++0x compiler will often have additional C++0x features that
  have not yet migrated to mainline GCC.</p>

  <p>The C++0x development branch is maintained by Douglas Gregor
    <<a
    href="mailto:doug.gregor@gmail.com">doug.gregor@gmail.com</a>>
    and Jason Merrill <<a
href="jason@redhat.com">jason@redhat.com</a>>.</p>

<h2>Features</h2>

  <p>The following C++0x features are currently available on the C++0x
  branch. Features that contain a [patch] link are not yet available
  in the mainline compiler. </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><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf">Delegating
  constructors</a>
  [<a
  href="http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00620.html">patch</a>]</li>

  <li><a
  href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2115.pdf">decltype</a>
  [<a
  href="http://gcc.gnu.org/ml/gcc-patches/2007-02/msg00300.html">patch</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>

<h2>Status</h2>
<ul>
  <li><a href="../gcc-4.3/cxx0x_status.html">GCC 4.3</a></li>
</ul>

<h2>Getting the C++0x compiler</h2>

  <p>The C++0x compiler is available under
    the <code>cxx0x-branch</code> branch in the GCC Subversion
    repository. To retrieve the C++0x branch via Subversion, use:</p>

  <pre>
svn -q checkout svn://gcc.gnu.org/svn/gcc/branches/cxx0x-branch gcc0x
  </pre>

<h2>Development Process</h2>
<p>Development of C++0x features occurs both on a dedicated C++0x
  branch and in the mainline compiler. Contributors are encouraged to
  submit their patches for the mainline compiler; we will also pick up
  the patches for the C++0x branch. Please put <code>[C++0x]</code> in
  the subject of your message to identify C++0x features.</p>

<p>When committing to the C++0x branch, please append ChangeLog
  entries to ChangeLog.cxx0x in the root of the branch.</p>

<h2>Contributors</h2>
<ul>
  <li>Douglas Gregor</li>
  <li>Pedro Lamarão</li>
  <li>Jason Merrill</li>
</ul>

</body>
</html>



More information about the Gcc-patches mailing list