OSDN Git Service

2007-12-10 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Dec 2007 19:58:19 +0000 (19:58 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Dec 2007 19:58:19 +0000 (19:58 +0000)
* docs/html/17_intro/backwards_compatibility.html: Fix markup.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/ext/concurrence.html: Likewise.
* docs/html/documentation.html: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130748 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/17_intro/backwards_compatibility.html
libstdc++-v3/docs/html/17_intro/howto.html
libstdc++-v3/docs/html/18_support/howto.html
libstdc++-v3/docs/html/documentation.html
libstdc++-v3/docs/html/ext/concurrence.html

index 1070751..aca4a73 100644 (file)
@@ -1,3 +1,11 @@
+2007-12-10  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * docs/html/17_intro/backwards_compatibility.html: Fix markup.
+       * docs/html/17_intro/howto.html: Likewise.
+       * docs/html/18_support/howto.html: Likewise.
+       * docs/html/ext/concurrence.html: Likewise.
+       * docs/html/documentation.html: Likewise.
+
 2007-12-10  Paolo Carlini  <pcarlini@suse.de>
 
        * testsuite/tr1/5_numerical_facilities/random/linear_congruential/
 2007-12-10  Paolo Carlini  <pcarlini@suse.de>
 
        * testsuite/tr1/5_numerical_facilities/random/linear_congruential/
index bc1497b..c9af980 100644 (file)
@@ -137,7 +137,7 @@ dnl HAVE_NAMESPACE_STD.
 dnl
 dnl @category Cxx
 dnl @author Todd Veldhuizen
 dnl
 dnl @category Cxx
 dnl @author Todd Veldhuizen
-dnl @author Luc Maisonobe <luc@spaceroots.org>
+dnl @author Luc Maisonobe &lt;luc@spaceroots.org&gt;
 dnl @version 2004-02-04
 dnl @license AllPermissive
 AC_DEFUN([AC_CXX_NAMESPACE_STD], [
 dnl @version 2004-02-04
 dnl @license AllPermissive
 AC_DEFUN([AC_CXX_NAMESPACE_STD], [
@@ -145,8 +145,8 @@ AC_DEFUN([AC_CXX_NAMESPACE_STD], [
   ac_cv_cxx_have_std_namespace,
   [AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
   ac_cv_cxx_have_std_namespace,
   [AC_LANG_SAVE
   AC_LANG_CPLUSPLUS
-  AC_TRY_COMPILE([#include <iostream> 
-                  std::istream& is = std::cin;],,
+  AC_TRY_COMPILE([#include &lt;iostream&gt; 
+                  std::istream&amp; is = std::cin;],,
   ac_cv_cxx_have_std_namespace=yes, ac_cv_cxx_have_std_namespace=no)
   AC_LANG_RESTORE
   ])
   ac_cv_cxx_have_std_namespace=yes, ac_cv_cxx_have_std_namespace=no)
   AC_LANG_RESTORE
   ])
@@ -557,7 +557,7 @@ AC_DEFUN([AC_HEADER_EXT_HASH_MAP], [
   AC_LANG_CPLUSPLUS
   ac_save_CXXFLAGS="$CXXFLAGS"
   CXXFLAGS="$CXXFLAGS -Werror" 
   AC_LANG_CPLUSPLUS
   ac_save_CXXFLAGS="$CXXFLAGS"
   CXXFLAGS="$CXXFLAGS -Werror" 
-  AC_TRY_COMPILE([#include <ext/hash_map>], [using __gnu_cxx::hash_map;],
+  AC_TRY_COMPILE([#include &lt;ext/hash_map&gt;], [using __gnu_cxx::hash_map;],
   ac_cv_cxx_ext_hash_map=yes, ac_cv_cxx_ext_hash_map=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
   ac_cv_cxx_ext_hash_map=yes, ac_cv_cxx_ext_hash_map=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
@@ -577,7 +577,7 @@ AC_DEFUN([AC_HEADER_EXT_HASH_SET], [
   AC_LANG_CPLUSPLUS
   ac_save_CXXFLAGS="$CXXFLAGS"
   CXXFLAGS="$CXXFLAGS -Werror" 
   AC_LANG_CPLUSPLUS
   ac_save_CXXFLAGS="$CXXFLAGS"
   CXXFLAGS="$CXXFLAGS -Werror" 
-  AC_TRY_COMPILE([#include <ext/hash_set>], [using __gnu_cxx::hash_set;],
+  AC_TRY_COMPILE([#include &lt;ext/hash_set&gt;], [using __gnu_cxx::hash_set;],
   ac_cv_cxx_ext_hash_set=yes, ac_cv_cxx_ext_hash_set=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
   ac_cv_cxx_ext_hash_set=yes, ac_cv_cxx_ext_hash_set=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
@@ -837,7 +837,7 @@ AC_DEFUN([AC_COMPILE_STDCXX_0X], [
 
     typedef check&lt;int&gt; check_type;
     check_type c;
 
     typedef check&lt;int&gt; check_type;
     check_type c;
-    check_type&& cr = c;],,
+    check_type&amp;&amp; cr = c;],,
   ac_cv_cxx_compile_cxx0x_native=yes, ac_cv_cxx_compile_cxx0x_native=no)
   AC_LANG_RESTORE
   ])
   ac_cv_cxx_compile_cxx0x_native=yes, ac_cv_cxx_compile_cxx0x_native=no)
   AC_LANG_RESTORE
   ])
@@ -862,7 +862,7 @@ AC_DEFUN([AC_COMPILE_STDCXX_0X], [
 
     typedef check&lt;int&gt; check_type;
     check_type c;
 
     typedef check&lt;int&gt; check_type;
     check_type c;
-    check_type&& cr = c;],,
+    check_type&amp;&amp; cr = c;],,
   ac_cv_cxx_compile_cxx0x_cxx=yes, ac_cv_cxx_compile_cxx0x_cxx=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
   ac_cv_cxx_compile_cxx0x_cxx=yes, ac_cv_cxx_compile_cxx0x_cxx=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
@@ -888,7 +888,7 @@ AC_DEFUN([AC_COMPILE_STDCXX_0X], [
 
     typedef check&lt;int&gt; check_type;
     check_type c;
 
     typedef check&lt;int&gt; check_type;
     check_type c;
-    check_type&& cr = c;],,
+    check_type&amp;&amp; cr = c;],,
   ac_cv_cxx_compile_cxx0x_gxx=yes, ac_cv_cxx_compile_cxx0x_gxx=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
   ac_cv_cxx_compile_cxx0x_gxx=yes, ac_cv_cxx_compile_cxx0x_gxx=no)
   CXXFLAGS="$ac_save_CXXFLAGS"
   AC_LANG_RESTORE
index 3e1bba0..09f1a3c 100644 (file)
@@ -127,7 +127,7 @@ the 1998 standard as updated for 2003, and the draft of the upcoming
 <center><table border="1"><caption>TR1 Headers for C Library Facilities</caption>
 <tr><td>&lt;tr1/cmath&gt;</td><td>&lt;tr1/cfloat&gt;</td><td>&lt;tr1/cstdarg&gt;</td><td>&lt;tr1/cstdio&gt;</td><td>&lt;tr1/ctime&gt;</td></tr>
 <tr><td>&lt;tr1/ccomplex&gt;</td><td>&lt;tr1/cinttypes&gt;</td><td>&lt;tr1/cstdbool&gt;</td><td>&lt;tr1/cstdlib&gt;</td><td>&lt;tr1/cwchar&gt;</td></tr>
 <center><table border="1"><caption>TR1 Headers for C Library Facilities</caption>
 <tr><td>&lt;tr1/cmath&gt;</td><td>&lt;tr1/cfloat&gt;</td><td>&lt;tr1/cstdarg&gt;</td><td>&lt;tr1/cstdio&gt;</td><td>&lt;tr1/ctime&gt;</td></tr>
 <tr><td>&lt;tr1/ccomplex&gt;</td><td>&lt;tr1/cinttypes&gt;</td><td>&lt;tr1/cstdbool&gt;</td><td>&lt;tr1/cstdlib&gt;</td><td>&lt;tr1/cwchar&gt;</td></tr>
-<tr><td>&lt;tr1/cfenv&gt;</td><td>&lt;tr1/climits&gt;</td><td>&lt;tr1/cstdint&gt;</td><td>&lt;tr1/ctgmath&gt;</td><td>&lt;tr1/cwctype&gt;<td></tr>
+<tr><td>&lt;tr1/cfenv&gt;</td><td>&lt;tr1/climits&gt;</td><td>&lt;tr1/cstdint&gt;</td><td>&lt;tr1/ctgmath&gt;</td><td>&lt;tr1/cwctype&gt;</td></tr>
 </table></center>
 
 <p>Also included are files for the C++ ABI interface:
 </table></center>
 
 <p>Also included are files for the C++ ABI interface:
@@ -142,7 +142,7 @@ the 1998 standard as updated for 2003, and the draft of the upcoming
 <center><table border="1"><caption>Extension Headers</caption>
 <tr><td>&lt;ext/algorithm&gt;</td><td>&lt;ext/debug_allocator.h&gt;</td><td>&lt;ext/mt_allocator.h&gt;</td><td>&lt;ext/pod_char_traits.h&gt;</td><td>&lt;ext/stdio_sync_filebuf.h&gt;</td></tr>
 <tr><td>&lt;ext/array_allocator.h&gt;</td><td>&lt;ext/enc_filebuf.h&gt;</td><td>&lt;ext/new_allocator.h&gt;</td><td>&lt;ext/pool_allocator.h&gt;</td><td>&lt;ext/throw_allocator.h&gt;</td></tr>
 <center><table border="1"><caption>Extension Headers</caption>
 <tr><td>&lt;ext/algorithm&gt;</td><td>&lt;ext/debug_allocator.h&gt;</td><td>&lt;ext/mt_allocator.h&gt;</td><td>&lt;ext/pod_char_traits.h&gt;</td><td>&lt;ext/stdio_sync_filebuf.h&gt;</td></tr>
 <tr><td>&lt;ext/array_allocator.h&gt;</td><td>&lt;ext/enc_filebuf.h&gt;</td><td>&lt;ext/new_allocator.h&gt;</td><td>&lt;ext/pool_allocator.h&gt;</td><td>&lt;ext/throw_allocator.h&gt;</td></tr>
-<tr><td>&lt;ext/atomicity.h&gt;</td><td>&lt;ext/functional&gt;</td><td>&lt;ext/numeric&gt;</td><td>&lt;ext/rb_tree&gt;</td><td>&lt;ext/typelist.h&gt;<td></tr>
+<tr><td>&lt;ext/atomicity.h&gt;</td><td>&lt;ext/functional&gt;</td><td>&lt;ext/numeric&gt;</td><td>&lt;ext/rb_tree&gt;</td><td>&lt;ext/typelist.h&gt;</td></tr>
 <tr><td>&lt;ext/bitmap_allocator.h&gt;</td><td>&lt;ext/iterator&gt;</td><td>&lt;ext/numeric_traits.h&gt;</td><td>&lt;ext/rope&gt;</td><td>&lt;ext/type_traits.h&gt;</td></tr>
 <tr><td>&lt;ext/codecvt_specializations.h&gt;</td><td>&lt;ext/malloc_allocator.h&gt;</td><td>&lt;ext/pb_ds/assoc_container.h&gt;</td><td>&lt;ext/slist&gt;</td><td>&lt;ext/vstring.h&gt;</td></tr>
 <tr><td>&lt;ext/concurrence.h&gt;</td><td>&lt;ext/memory&gt;</td><td>&lt;ext/pb_ds/priority_queue.h&gt;</td><td>&lt;ext/stdio_filebuf.h&gt;</td></tr>
 <tr><td>&lt;ext/bitmap_allocator.h&gt;</td><td>&lt;ext/iterator&gt;</td><td>&lt;ext/numeric_traits.h&gt;</td><td>&lt;ext/rope&gt;</td><td>&lt;ext/type_traits.h&gt;</td></tr>
 <tr><td>&lt;ext/codecvt_specializations.h&gt;</td><td>&lt;ext/malloc_allocator.h&gt;</td><td>&lt;ext/pb_ds/assoc_container.h&gt;</td><td>&lt;ext/slist&gt;</td><td>&lt;ext/vstring.h&gt;</td></tr>
 <tr><td>&lt;ext/concurrence.h&gt;</td><td>&lt;ext/memory&gt;</td><td>&lt;ext/pb_ds/priority_queue.h&gt;</td><td>&lt;ext/stdio_filebuf.h&gt;</td></tr>
@@ -162,7 +162,7 @@ the 1998 standard as updated for 2003, and the draft of the upcoming
 </table></center>
 
 <hr />
 </table></center>
 
 <hr />
-<h2><a name="2.1">Recipes for mixing headers</code></a></h2>
+<h2><a name="2.1">Recipes for mixing headers</a></h2>
 
 <p> A few simple rules.
 </p>
 
 <p> A few simple rules.
 </p>
@@ -263,7 +263,7 @@ this is:</p>
 <pre>
 g++ -v hello.cc
 
 <pre>
 g++ -v hello.cc
 
-#include <...> search starts here:
+#include &lt;...&gt; search starts here:
  /mnt/share/bld/H-x86-gcc.20071201/include/c++/4.3.0
 ...
 End of search list.
  /mnt/share/bld/H-x86-gcc.20071201/include/c++/4.3.0
 ...
 End of search list.
index dc5bc2a..d7ea434 100644 (file)
       print this stuff, it prompted him to run this code through current
       compilers to see what the state of the art is with respect to member
       template functions.  He posted
       print this stuff, it prompted him to run this code through current
       compilers to see what the state of the art is with respect to member
       template functions.  He posted
-      <a href="http://groups.google.com/groups?oi=djq&selm=an_644660779">an
-      article to Usenet</a> after discovering that the code above is not
+      <a href="http://groups.google.com/groups?oi=djq&amp;selm=an_644660779">
+      an article to Usenet</a> after discovering that the code above is not
       valid!  Even though it has no data members, it still needs a
       user-defined constructor (which means that the class needs a type name
       after all).  The ctor can have an empty body; it just needs to be
       valid!  Even though it has no data members, it still needs a
       user-defined constructor (which means that the class needs a type name
       after all).  The ctor can have an empty body; it just needs to be
 
    struct argument_error : public std::runtime_error
    {  
 
    struct argument_error : public std::runtime_error
    {  
-     argument_error(const std::string& s): std::runtime_error(s) { }
+     argument_error(const std::string&amp; s): std::runtime_error(s) { }
    };
 
    int main(int argc)
    };
 
    int main(int argc)
index d2a736f..0c7dda3 100644 (file)
@@ -79,7 +79,7 @@ href="http://gcc.gnu.org/svn.html">web</a>.
 
          <li>Namespaces
          <ul>
 
          <li>Namespaces
          <ul>
-         <li><a href="17_intro/howto.html#3.0">Available namespaces</li>
+         <li><a href="17_intro/howto.html#3.0">Available namespaces</a></li>
          <li><a href="17_intro/howto.html#3.1">Namespace <code>std::</code></a></li>
          <li><a href="17_intro/howto.html#3.2">Using namespace composition</a></li>
          </ul>
          <li><a href="17_intro/howto.html#3.1">Namespace <code>std::</code></a></li>
          <li><a href="17_intro/howto.html#3.2">Using namespace composition</a></li>
          </ul>
index e621bc9..e6bf443 100644 (file)
@@ -90,7 +90,7 @@ __atomic_add_dispatch
 </li>
 </ul>
 
 </li>
 </ul>
 
-</p>
+<p>
 These functions forward to one of several specialized helper
 functions, depending on the circumstances. For instance, 
 </p>
 These functions forward to one of several specialized helper
 functions, depending on the circumstances. For instance, 
 </p>
@@ -138,7 +138,7 @@ _GLIBCXX_READ_MEM_BARRIER
 </p>
 <p>
 <code>
 </p>
 <p>
 <code>
-GLIBCXX_WRITE_MEM_BARRIER 
+_GLIBCXX_WRITE_MEM_BARRIER 
 </code>
 </p>
 
 </code>
 </p>
 
@@ -151,10 +151,10 @@ host hardware and operating system.
   <a name="pthread_api">Pthread Interface</a>
 </h3>
 
   <a name="pthread_api">Pthread Interface</a>
 </h3>
 
-<p>A thin layer above IEEE 1003.1 (ie pthreads) is used to abastract
+<p>A thin layer above IEEE 1003.1 (ie pthreads) is used to abstract
 the thread interface for GCC. This layer is called "gthread," and is
 comprised of one header file that wraps the host's default thread layer with
 the thread interface for GCC. This layer is called "gthread," and is
 comprised of one header file that wraps the host's default thread layer with
-a POSIX-like interfaces.
+a POSIX-like interface.
 </p>
 
 <p> The file &lt;gthr-default.h&gt; points to the deduced wrapper for
 </p>
 
 <p> The file &lt;gthr-default.h&gt; points to the deduced wrapper for
@@ -247,11 +247,11 @@ namespace other
   foo()
   {
     __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
   foo()
   {
     __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
-    for (int i = 0; i < max;  ++i)
+    for (int i = 0; i &lt; max;  ++i)
       {
        _Safe_iterator_base* __old = __iter;
       {
        _Safe_iterator_base* __old = __iter;
-       __iter = __iter->_M_next;
-       __old->_M_detach_single();
+       __iter = __iter-&lt;_M_next;
+       __old-&lt;_M_detach_single();
       }
 }
 </pre>
       }
 }
 </pre>