c_io_stdio.h: Correct grammar in comments.
authorPhil Edwards <pme@gcc.gnu.org>
Fri, 2 Nov 2001 17:38:11 +0000 (17:38 +0000)
committerPhil Edwards <pme@gcc.gnu.org>
Fri, 2 Nov 2001 17:38:11 +0000 (17:38 +0000)
2001-11-02  Phil Edwards  <pme@gcc.gnu.org>

* config/io/c_io_stdio.h:  Correct grammar in comments.
* docs/doxygen/Intro.3:  Expand "top-level" man page.
* docs/doxygen/doxygroups.cc:  New module definitions (comments).
* docs/doxygen/mainpage.doxy:  Tweaks.
* docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.

Add @file hooks so that headers are considered to be documented.
* include/bits/basic_ios.h, include/bits/basic_file.h,
include/bits/basic_string.h, include/bits/boost_concept_check.h,
include/bits/char_traits.h, include/bits/codecvt.h,
include/bits/concept_check.h, include/bits/cpp_type_traits.h,
include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
include/bits/indirect_array.h, include/bits/ios_base.h,
include/bits/locale_facets.h, include/bits/localefwd.h,
include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
include/bits/slice.h, include/bits/slice_array.h,
include/bits/std_algorithm.h, include/bits/std_bitset.h,
include/bits/std_complex.h, include/bits/std_deque.h,
include/bits/std_fstream.h, include/bits/std_functional.h,
include/bits/std_iomanip.h, include/bits/std_ios.h,
include/bits/std_iosfwd.h, include/bits/std_iostream.h,
include/bits/std_istream.h, include/bits/std_iterator.h,
include/bits/std_limits.h, include/bits/std_list.h,
include/bits/std_locale.h, include/bits/std_map.h,
include/bits/std_memory.h, include/bits/std_numeric.h,
include/bits/std_ostream.h, include/bits/std_queue.h,
include/bits/std_set.h, include/bits/std_sstream.h,
include/bits/std_stack.h, include/bits/std_streambuf.h,
include/bits/std_string.h, include/bits/std_utility.h,
include/bits/std_valarray.h, include/bits/std_vector.h,
include/bits/stl_algo.h, include/bits/stl_alloc.h,
include/bits/stl_bvector.h, include/bits/stl_construct.h,
include/bits/stl_deque.h, include/bits/stl_heap.h,
include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_multiset.h, include/bits/stl_numeric.h,
include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
include/bits/stl_relops.h, include/bits/stl_set.h,
include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
include/bits/stl_threads.h, include/bits/stl_tree.h,
include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
include/bits/stringfwd.h, include/bits/type_traits.h,
include/bits/valarray_array.h, include/bits/valarray_meta.h:
Add hooks, tweak comments only.

* include/bits/stl_algobase.h (swap, min, iter_swap):  Also
document these functions.
* include/bits/stl_function.h:  Tweak link comments.

From-SVN: r46717

87 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/config/io/c_io_stdio.h
libstdc++-v3/docs/doxygen/Intro.3
libstdc++-v3/docs/doxygen/doxygroups.cc
libstdc++-v3/docs/doxygen/mainpage.doxy
libstdc++-v3/docs/doxygen/run_doxygen
libstdc++-v3/include/bits/basic_file.h
libstdc++-v3/include/bits/basic_ios.h
libstdc++-v3/include/bits/basic_string.h
libstdc++-v3/include/bits/boost_concept_check.h
libstdc++-v3/include/bits/char_traits.h
libstdc++-v3/include/bits/codecvt.h
libstdc++-v3/include/bits/concept_check.h
libstdc++-v3/include/bits/cpp_type_traits.h
libstdc++-v3/include/bits/fpos.h
libstdc++-v3/include/bits/gslice.h
libstdc++-v3/include/bits/gslice_array.h
libstdc++-v3/include/bits/indirect_array.h
libstdc++-v3/include/bits/ios_base.h
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/bits/localefwd.h
libstdc++-v3/include/bits/mask_array.h
libstdc++-v3/include/bits/pthread_allocimpl.h
libstdc++-v3/include/bits/slice.h
libstdc++-v3/include/bits/slice_array.h
libstdc++-v3/include/bits/std_algorithm.h
libstdc++-v3/include/bits/std_bitset.h
libstdc++-v3/include/bits/std_complex.h
libstdc++-v3/include/bits/std_deque.h
libstdc++-v3/include/bits/std_fstream.h
libstdc++-v3/include/bits/std_functional.h
libstdc++-v3/include/bits/std_iomanip.h
libstdc++-v3/include/bits/std_ios.h
libstdc++-v3/include/bits/std_iosfwd.h
libstdc++-v3/include/bits/std_iostream.h
libstdc++-v3/include/bits/std_istream.h
libstdc++-v3/include/bits/std_iterator.h
libstdc++-v3/include/bits/std_limits.h
libstdc++-v3/include/bits/std_list.h
libstdc++-v3/include/bits/std_locale.h
libstdc++-v3/include/bits/std_map.h
libstdc++-v3/include/bits/std_memory.h
libstdc++-v3/include/bits/std_numeric.h
libstdc++-v3/include/bits/std_ostream.h
libstdc++-v3/include/bits/std_queue.h
libstdc++-v3/include/bits/std_set.h
libstdc++-v3/include/bits/std_sstream.h
libstdc++-v3/include/bits/std_stack.h
libstdc++-v3/include/bits/std_streambuf.h
libstdc++-v3/include/bits/std_string.h
libstdc++-v3/include/bits/std_utility.h
libstdc++-v3/include/bits/std_valarray.h
libstdc++-v3/include/bits/std_vector.h
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/include/bits/stl_alloc.h
libstdc++-v3/include/bits/stl_bvector.h
libstdc++-v3/include/bits/stl_construct.h
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/include/bits/stl_function.h
libstdc++-v3/include/bits/stl_heap.h
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/include/bits/stl_iterator_base_funcs.h
libstdc++-v3/include/bits/stl_iterator_base_types.h
libstdc++-v3/include/bits/stl_list.h
libstdc++-v3/include/bits/stl_map.h
libstdc++-v3/include/bits/stl_multimap.h
libstdc++-v3/include/bits/stl_multiset.h
libstdc++-v3/include/bits/stl_numeric.h
libstdc++-v3/include/bits/stl_pair.h
libstdc++-v3/include/bits/stl_pthread_alloc.h
libstdc++-v3/include/bits/stl_queue.h
libstdc++-v3/include/bits/stl_raw_storage_iter.h
libstdc++-v3/include/bits/stl_relops.h
libstdc++-v3/include/bits/stl_set.h
libstdc++-v3/include/bits/stl_stack.h
libstdc++-v3/include/bits/stl_tempbuf.h
libstdc++-v3/include/bits/stl_threads.h
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/include/bits/stl_uninitialized.h
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/include/bits/stream_iterator.h
libstdc++-v3/include/bits/streambuf_iterator.h
libstdc++-v3/include/bits/stringfwd.h
libstdc++-v3/include/bits/type_traits.h
libstdc++-v3/include/bits/valarray_array.h
libstdc++-v3/include/bits/valarray_meta.h

index 988bfbf201c9d3998568ac33e2263cf83f2e2a77..5ec4b8b192bc565e1ce9f9576c53e1c3c595323e 100644 (file)
@@ -1,3 +1,57 @@
+2001-11-02  Phil Edwards  <pme@gcc.gnu.org>
+
+       * config/io/c_io_stdio.h:  Correct grammar in comments.
+       * docs/doxygen/Intro.3:  Expand "top-level" man page.
+       * docs/doxygen/doxygroups.cc:  New module definitions (comments).
+       * docs/doxygen/mainpage.doxy:  Tweaks.
+       * docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.
+
+       Add @file hooks so that headers are considered to be documented.
+       * include/bits/basic_ios.h, include/bits/basic_file.h,
+       include/bits/basic_string.h, include/bits/boost_concept_check.h,
+       include/bits/char_traits.h, include/bits/codecvt.h,
+       include/bits/concept_check.h, include/bits/cpp_type_traits.h,
+       include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
+       include/bits/indirect_array.h, include/bits/ios_base.h,
+       include/bits/locale_facets.h, include/bits/localefwd.h,
+       include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
+       include/bits/slice.h, include/bits/slice_array.h,
+       include/bits/std_algorithm.h, include/bits/std_bitset.h,
+       include/bits/std_complex.h, include/bits/std_deque.h,
+       include/bits/std_fstream.h, include/bits/std_functional.h,
+       include/bits/std_iomanip.h, include/bits/std_ios.h,
+       include/bits/std_iosfwd.h, include/bits/std_iostream.h,
+       include/bits/std_istream.h, include/bits/std_iterator.h,
+       include/bits/std_limits.h, include/bits/std_list.h,
+       include/bits/std_locale.h, include/bits/std_map.h,
+       include/bits/std_memory.h, include/bits/std_numeric.h,
+       include/bits/std_ostream.h, include/bits/std_queue.h,
+       include/bits/std_set.h, include/bits/std_sstream.h,
+       include/bits/std_stack.h, include/bits/std_streambuf.h,
+       include/bits/std_string.h, include/bits/std_utility.h,
+       include/bits/std_valarray.h, include/bits/std_vector.h,
+       include/bits/stl_algo.h, include/bits/stl_alloc.h,
+       include/bits/stl_bvector.h, include/bits/stl_construct.h,
+       include/bits/stl_deque.h, include/bits/stl_heap.h,
+       include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
+       include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
+       include/bits/stl_map.h, include/bits/stl_multimap.h,
+       include/bits/stl_multiset.h, include/bits/stl_numeric.h,
+       include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
+       include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
+       include/bits/stl_relops.h, include/bits/stl_set.h,
+       include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
+       include/bits/stl_threads.h, include/bits/stl_tree.h,
+       include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
+       include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
+       include/bits/stringfwd.h, include/bits/type_traits.h,
+       include/bits/valarray_array.h, include/bits/valarray_meta.h:
+       Add hooks, tweak comments only.
+
+       * include/bits/stl_algobase.h (swap, min, iter_swap):  Also
+       document these functions.
+       * include/bits/stl_function.h:  Tweak link comments.
+
 2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
            Benjamin Kosnik  <bkoz@redhat.com>
        
index 1ea8b3081fce55505b207f997e4acc21043bb88c..c9ef09ae3cfcff278bd3de163b24edffdc93ff60 100644 (file)
@@ -38,7 +38,7 @@
 
 namespace std 
 {
-// from fpos.h
+// for fpos.h
   typedef long         streamoff;
   typedef ptrdiff_t    streamsize; // Signed integral type
 #if _GLIBCPP_USE_WCHAR_T
@@ -48,11 +48,11 @@ namespace std
 
   typedef __gthread_mutex_t __c_lock;
 
-// from basic_file.h
+// for basic_file.h
 #define _GLIBCPP_BASIC_FILE_ENCAPSULATION 1
   typedef FILE __c_file_type;
 
-// from ios_base.h
+// for ios_base.h
   struct __ios_flags
   {
     typedef short __int_type;
index 5df718b118bcb17d770be4f0d26dfa203529f84e..6f4f3a5985897084b683c9b90ce7a3e5b656aedd 100644 (file)
+.\" t
 .\" This man page is released under the FDL as part of libstdc++-v3.
 .TH Intro 3 "27 September 2001" "GNU libstdc++-v3" "Standard C++ Library"
 .SH NAME
 Intro \- Introduction to the GNU libstdc++-v3 man pages
 .SH DESCRIPTION
-
-This should mention the man pages generated for modules.
-
+This man page serves as a brief introduction to the GNU implementation of
+the Standard C++ Library.  For a better introduction and more complete
+documentation, see the
+.B libstdc++-v3
+homepage listed at the end.
+.P
+All standard library entities are declared within
+.I namespace std
+and have manual entries beginning with "std_".  For example, to see
+documentation of the template class
+.I std::vector
+one would use "man std_vector".
+.P
+All the man pages are automatically generated by Doxygen.  For more
+information on this tool, see the HTML counterpart to these man pages.
+.P
+Some man pages do not correspond to individual classes or functions.  Rather
+they describe categories of the Standard Library.  (For a more thourough
+introduction to the various categories, consult a textbook such as Josuttis'
+or Austern's.)  These category pages are:
+.P
+.\" These are separated by ONE TAB.  Nothing else.  I don't like it either.
+.TS
+lB l.
+Arithmetic_functors    Functors for basic math.
+Assoc_containers       Key-based containers.
+Binder_functors        Functors which "remember" an argument.
+Comparison_functors    Functors wrapping built-in comparisons.
+Containers     An introduction to container classes.
+Func_ptr_functors      Functors for use with pointers to functions.
+Intro  This page.
+Intro_functors An introduction to function objects, or functors.
+Logical_functors       Functors wrapping the Boolean operations.
+Member_ptr_functor     Functors for use with pointers to members.
+Namespace_Std  A listing of the contents of std::.
+Negation_functors      Functors which negate their contents.
+SGIextensions  A list of the extensions from the SGI STL subset.
+Sequences      Linear containers.
+.TE
+.P
+The HTML documentation goes into more depth.
 .SH FILES
-
-Lots.  Wish I knew enough *roff syntax to list them nicely.
-
+Lots!
+.SS Standard Headers
+These headers will be found automatically, unless you instruct the compiler
+otherwise.
+.TS
+lB lB lB lB.
+<algorithm>  <csignal>     <iomanip>   <ostream>
+<bitset>     <cstdarg>     <ios>       <queue>
+<cassert>    <cstddef>     <iosfwd>    <set>
+<cctype>     <cstdio>      <iostream>  <sstream>
+<cerrno>     <cstdlib>     <istream>   <stack>
+<cfloat>     <cstring>     <iterator>  <stdexcept>
+<ciso>646    <ctime>       <limits>    <streambuf>
+<climits>    <cwchar>      <list>      <string>
+<clocale>    <cwctype>     <locale>    <utility>
+<cmath>      <deque>       <map>       <valarray>
+<complex>    <fstream>     <memory>    <vector>
+<csetjmp>    <functional>  <numeric>
+.TE
+.SS Backwards-Compatability Headers
+For GCC 3.0 these headers will be found automatically, unless you instruct
+the compiler otherwise.  You should not depend on this, instead you should
+read FAQ 5.4 and use a
+.B backward/
+prefix.
+.TS
+lB lB lB lB.
+<algo.h>      <hash_map.h>   <map.h>       <slist.h>
+<algobase.h>  <hash_set.h>   <multimap.h>  <stack.h>
+<alloc.h>     <hashtable.h>  <multiset.h>  <stream.h>
+<bvector.h>   <heap.h>       <new.h>       <streambuf.h>
+<complex.h>   <iomanip.h>    <ostream.h>   <strstream>
+<defalloc.h>  <iostream.h>   <pair.h>      <strstream.h>
+<deque.h>     <istream.h>    <queue.h>     <tempbuf.h>
+<fstream.h>   <iterator.h>   <rope.h>      <tree.h>
+<function.h>  <list.h>       <set.h>       <vector.h>
+.TE
+.SS Extension Headers
+These headers will only be found automatically if you include the leading
+.B ext/
+in the name.  Otherwise you need to read FAQ 5.4.
+.TS
+lB.
+<ext/hash_map>
+<ext/hash_set>
+<ext/rope>
+<ext/slist>
+.TE
+.SS Libraries
+.TP
+.I libstdc++.a
+The library implementation in static archive form.  If you did not configure
+libstdc++-v3 to use shared libraries, this will always be used.  Otherwise
+it will only be used if the user requests it.
+.TP
+.I libsupc++.a
+This library contains C++ language support routines.  Usually you will never
+need to know about it, but it can be useful.  See FAQ 2.5.
+.TP
+.I libstdc++.so[.N]
+The library implementation in shared object form.  This will be used in
+preference to the static archive form by default.  Currently N will either
+start with 3 or with 4, but your system vendor may change the name as they
+see fit.  If N is in the 2.x series, then you are looking at the old
+libstdc++-v2 library, which we do not maintain.
+.TP
+.I libstdc++.la
+.TP
+.I libsupc++.la
+These are Libtool library files, and should only be used when working with
+that tool.
 .SH CONFORMING TO
 Almost conforming to
 .BI "International Standard ISO/IEC 14882:1998(E), " "Programming Languages --- C++"
@@ -20,5 +127,5 @@ Working Group,
 .UR
 http://gcc.gnu.org/libstdc++/
 .UE
-for the Frequently Asked Questions, online documentation, and more.
-
+for the Frequently Asked Questions, online documentation, and much, much more!
+.\" vim:ts=8:noet:
index b74bab118631bd4356fa075461474f6d4fb45089..72e5ef3b8a37a3dd0091af830b87e137d84625ba 100644 (file)
@@ -3,22 +3,83 @@
 // source headers themselves.  It is a ".cc" file for the sole cheesy reason
 // that it triggers many different text editors into doing Nice Things when
 // typing comments.  However, it is mentioned nowhere except the *cfg.in files.
+// Pieces separated by '// //' lines will usually not be presented to the
+// user on the same page.
 
-/** @addtogroup SGIextensions
- *
- *  Because libstdc++-v3 based its implementation of the STL subsections of
- *  the library on the SGI 3.3 implementation, we inherited their extensions
- *  as well.
- *
- *  They are additionally documented in the
- *  <a href="http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html">
- *  online documentation</a>, a copy of which is also shipped with the
- *  library source code (in .../docs/html/documentation.html).  You can also
- *  read the documentation <a href="http://www.sgi.com/tech/stl/">on SGI's
- *  site</a>, which is still running even though the code is not maintained.
- *
- *  <strong>NB</strong> that the following notes are pulled from various
- *  comments all over the place, so they may seem stilted.
- *  <hr>
+// // // // // // // // // // // // // // // // // // // // // // // //
+/** @addtogroup SGIextensions STL extensions from SGI
+Because libstdc++-v3 based its implementation of the STL subsections of
+the library on the SGI 3.3 implementation, we inherited their extensions
+as well.
+
+They are additionally documented in the
+<a href="http://gcc.gnu.org/onlinedocs/libstdc++/documentation.html">
+online documentation</a>, a copy of which is also shipped with the
+library source code (in .../docs/html/documentation.html).  You can also
+read the documentation <a href="http://www.sgi.com/tech/stl/">on SGI's
+site</a>, which is still running even though the code is not maintained.
+
+<strong>NB</strong> that the following notes are pulled from various
+comments all over the place, so they may seem stilted.
+<hr>
+*/
+
+// // // // // // // // // // // // // // // // // // // // // // // //
+// This is standalone because, unlike the functor introduction, there is no
+// single header file which serves as a base "all containers must include
+// this header".  We do some quoting of 14882 here.
+/** @addtogroup Containers Containers
+Containers are collections of objects.
+
+A container may hold any type which meets certain requirements, but the type
+of contained object is chosen at compile time, and all objects in a given
+container must be of the same type.  (Polymorphism is possible by declaring a
+container of pointers to a base class and then populating it with pointers to
+instances of derived classes.  Variant value types such as the @c any class
+from <a href="http://www.boost.org/">Boost</a> can also be used.
+
+All contained types must be @c Assignable and @c CopyConstructible.
+Specific containers may place additional requirements on the types of
+their contained objects.
+
+Containers manage memory allocation and deallocation themselves when
+storing your objects.  The objects are destroyed when the container is
+itself destroyed.  Note that if you are storing pointers in a container,
+@c delete is @e not automatically called on the pointers before destroying them.
+
+All containers must meet certain requirements.  They would be listed here
+except I'm not certain how much of 14882 can be reproduced without a
+copyright violation.  Reproducing Tables 65 through 69 is a lot of typing...
+
+The standard containers are further refined into
+@link Sequences Sequences@endlink and
+@link Assoc_containers Associative Containers@endlink.
 */
 
+/** @addtogroup Sequences Sequences
+Sequences arrange a collection of objects into a strictly linear order.
+
+The differences between sequences are usually due to one or both of the
+following:
+  - memory management
+  - algorithmic complexity
+
+As an example of the first case, @c vector is required to use a contiguous
+memory layout, while other sequences such as @c deque are not.
+
+The prime reason for chosing one sequence over another should be based on
+the second category of differences, algorithmic complexity.  For example, if
+you need to perform many inserts and removals from the middle of a sequence,
+@c list would be ideal.  But if you need to perform constant-time access to
+random elements of the sequence, then @c list should not be used.
+*/
+
+/** @addtogroup Assoc_containers Associative Containers
+Associative containers allow fast retrieval of data based on keys.
+
+Each container type is parameterized on a @c Key type, and an ordering
+relation used to sort the elements of the container.
+*/
+
+// // // // // // // // // // // // // // // // // // // // // // // //
+
index f1fa54d10373f04a47e62bd30f6fd85fed0fe068..467f5ff3d8683a5d9c3d751b6687ebcfc604bed1 100644 (file)
     <li><a href="annotated.html">Compound List</a>
     <li><a href="classes.html">Alphabetical List</a>
     <li><a href="files.html">File List</a>
-    <!-- Will be useful, but not yet. <li><a href="modules.html">Modules</a> -->
+    <li><a href="modules.html">Modules</a>
    </ul>
 </p>
 
 <h2> Generating this file </h2>
-<p>This page is automatically generated.  The Makefile rule <code> make
-   doxygen </code> in the libstdc++-v3 build directory generates these pages
+<p>These HTML pages are automatically generated, along with the man pages.
+   The Makefile rule <code> 'make
+   doxygen' </code> in the libstdc++-v3 build directory generates these pages
    using a tool called, appropriately enough, Doxygen.  To learn more about
    Doxygen, take a look at <a href="http://www.doxygen.org">the Doxygen
    webpage</a>.
index d515dfde99a3f36ba7682bcdd9bd98f2d3b9e44c..4563f925942b06b7e56d63766fc6bff119c0642d 100644 (file)
@@ -8,7 +8,7 @@
 
 
 # We can check now that the version of doxygen is >= this variable.
-DOXYVER=1.2.6
+DOXYVER=1.2.10
 doxygen=
 
 find_doxygen() {
@@ -126,14 +126,11 @@ chmod u+w $outdir
 # man pages for doxygen modules need to be renamed (or deleted).  And the
 # generated #include lines need to be changed from the internal names to the
 # standard ones (e.g., "#include <stl_tempbuf.h>" -> "#include <memory>").
-#
-# File names with embedded spaces (EVIL!) need to be....?  renamed or removed?
 cd $outdir/man/man3 && {
 echo :: Fixing up the man pages...
 
-# requires GNU tools
-find . -name "* *" -print0 | xargs -0 rm
-rm *.h.3
+# File names with embedded spaces (EVIL!) need to be....?  renamed or removed?
+find . -name "* *" -print0 | xargs -0 rm        # requires GNU tools
 
 # can leave SGIextensions.3 alone, it's an okay name
 mv s20_3_1_base.3           Intro_functors.3
@@ -144,6 +141,11 @@ mv s20_3_5_negators.3       Negation_functors.3
 mv s20_3_6_binder.3         Binder_functors.3
 mv s20_3_7_adaptors.3       Func_ptr_functors.3
 mv s20_3_8_memadaptors.3    Member_ptr_functors.3
+mv std.3                    Namespace_Std.3
+
+# man pages are for functions/types/other entities, not source files directly
+find . -name "[a-z]*" -a ! -name "std_*" -print | xargs rm
+rm -f *.h.3 *config* *.cc.3 *.tcc.3
 
 # Standardize the displayed header names.  If anyone who knows perl cares
 # enough to rewrite all this, feel free.  This only gets run once a century,
index 65081a0af10b1c0942a04e77c49d21f488305b23..e7c220a3801ee765a0262f5c86b8279012484c6d 100644 (file)
 // ISO C++ 14882: 27.8  File-based streams
 //
 
+/** @file basic_file.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BASIC_FILE
 #define _CPP_BASIC_FILE                1
 
@@ -121,7 +126,9 @@ namespace std
 #endif
     {
 #if _GLIBCPP_BASIC_FILE_ENCAPSULATION
+      // underlying data source/sink
       __c_file_type*   _M_cfile;
+      // true iff we opened _M_cfile, and thus must close it ourselves
       bool             _M_cfile_created;
 #else
 # ifdef _GLIBCPP_USE_WCHAR_T
@@ -142,8 +149,10 @@ namespace std
 
       // Used for opening the standard streams, cin, cout, cerr, clog,
       // and their wide-stream equivalents. Instead of calling open, it
-      // just sets __c_file_type->_fileno and the respective _flags bits, and
-      // returns.
+      // just sets
+      //  - for libio:  __c_file_type->_fileno and the respective _flags bits
+      //  - for stdio:  _M_cfile = __file and some internal flags
+      // and returns.
       __basic_file*
       sys_open(__c_file_type* __file, ios_base::openmode __mode);
 
index 883a4cace50ebba6ca634d4cb267e4996f683847..cc393aaf311e7388e7735f3c02a073d516a260d4 100644 (file)
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
+/** @file basic_ios.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_BASICIOS_H
 #define _CPP_BITS_BASICIOS_H 1
 
index a2fb1e0932ddee679c8f1aeda657ffa436d25ca2..37a30af7ca48f3aa0a133259b42cca30d8c8392b 100644 (file)
 // ISO C++ 14882: 21 Strings library
 //
 
+/** @file basic_string.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_STRING_H
 #define _CPP_BITS_STRING_H     1
 
index 91d7019155ebdc3f9f50c6e64a8ee3ca776c721e..b4f0d06f12e4c5c0da708f231e0f815fb111acbc 100644 (file)
@@ -7,6 +7,12 @@
 //
 
 // GCC Note:  based on version 1.12.0 of the Boost library.
+
+/** @file boost_concept_check.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _GLIBCPP_BOOST_CONCEPT_CHECK
 #define _GLIBCPP_BOOST_CONCEPT_CHECK 1
 
index a468bed90afd0ee0a968f10b15a63481f3d5837d..710e0eb6a534a5d56356e51eb8c4f64bbbab8b6d 100644 (file)
 // ISO C++ 14882: 21  Strings library
 //
 
+/** @file char_traits.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_CHAR_TRAITS_H
 #define _CPP_BITS_CHAR_TRAITS_H 1
 
index 441f40c9fe38b0698560dc494769c76a95049512..506752f3432c12fd234b9401eeb93d61a70a10b6 100644 (file)
 // ISO C++ 14882: 22.2.1.5 Template class codecvt
 //
 
-// Warning: this file is not meant for user inclusion.  Use <locale>.
-
 // Written by Benjamin Kosnik <bkoz@cygnus.com>
 
+/** @file codecvt.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_CODECVT_H
 #define _CPP_BITS_CODECVT_H    1
 
index 4ee8d9b6cc8059ad426107f6ba83bb9c96f537c9..92ceefbd685e0d55bf3dab8bfea7730fed318451 100644 (file)
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
+/** @file concept_check.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _GLIBCPP_CONCEPT_CHECK
 #define _GLIBCPP_CONCEPT_CHECK 1
 
index 61cc45d47fae18677822e75e1886d37d5dd97855..693fc91a627a15701e1e9d26e6332c760535c86f 100644 (file)
 
 // Written by Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
 
+/** @file cpp_type_traits.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_CPP_TYPE_TRAITS_H
 #define _CPP_BITS_CPP_TYPE_TRAITS_H 1
 
index 86eb5c38e4915cec3773d0d1014a57f4f2640ef7..119fbe7f528761beecfd9d260cd3b20fc0e7bd8f 100644 (file)
 // ISO C++ 14882: 27 Input/output library
 //
 
+/** @file fpos.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_FPOS_H
 #define _CPP_BITS_FPOS_H 1
 
index df8ecbe8be9f2e1b0b27afeb09c26ab0f4fa0744..58a36fb174d41be71268dff9098bcb001babf982 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file gslice.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_GSLICE_H
 #define _CPP_BITS_GSLICE_H 1
 
index 3e2d12fd04d88bf9b2a9d8f19699f1db1a73d1e9..eca541e636ec503810ecaa73abb97d852f70ce4a 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file gslice_array.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_GSLICE_ARRAY
 #define _CPP_BITS_GSLICE_ARRAY 1
 
index 5eb3fb04edd2b4676a7d266194008b7d486c0190..d928258cd15c533aa740f74483bab48ab04e6f8b 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file indirect_array.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_INDIRECT_ARRAY_H
 #define _CPP_BITS_INDIRECT_ARRAY_H 1
 
index b2b8da060e571186ab5915f27ea0cb694e067c8d..bf9fe693199c76eb4ff00f644f202a5e15abae72 100644 (file)
 // ISO C++ 14882: 27.8  File-based streams
 //
 
+/** @file ios_base.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_IOSBASE_H
 #define _CPP_BITS_IOSBASE_H 1
 
index 2c6419b0459dcf71793899b66647fa2cd0c02d7c..94f607ac9c0831da18138c74f6d820f8ee3fd198 100644 (file)
 // ISO C++ 14882: 22.1  Locales
 //
 
-// Warning: this file is not meant for user inclusion.  Use <locale>.
+/** @file locale_facets.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
 
 #ifndef _CPP_BITS_LOCFACETS_H
 #define _CPP_BITS_LOCFACETS_H  1
index e6bd6cc25af90c48fb3158ed982167303dde7e7a..af48b600c0fe3572b73a8ad55fd976acf357c37a 100644 (file)
 // ISO C++ 14882: 22.1  Locales
 //
 
+/** @file localefwd.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_LOCCORE_H
 #define _CPP_BITS_LOCCORE_H    1
 
index b2399ba1fa79ef9045ba4a1e2795e2411c6fef40..13c01d3cc226e70d8abbf5660af084cf0fc064c7 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file mask_array.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_MASK_ARRAY_H
 #define _CPP_BITS_MASK_ARRAY_H 1
 
index 1c52127f1922416b8c812212d08522bd02e6b10a..ca0f980fbf4fbd3f48810b5afec92685abc7c70c 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file pthread_allocimpl.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_PTHREAD_ALLOCIMPL_H
 #define _CPP_BITS_PTHREAD_ALLOCIMPL_H 1
 
index 5efb6e8cf4c288d1cbd0b6853c8f33c198fef2af..d3da664f8d1aa31ff08799097f9a0dbf03d00362 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file slice.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_SLICE_H
 #define _CPP_BITS_SLICE_H 1
 
index b2b118987fdebc1d6c2990a73f592a164b875559..4e82cebf82dec7b0ccaa13b43dcf2d11129a3dca 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file slice_array.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_SLICE_ARRAY_H
 #define _CPP_BITS_SLICE_ARRAY_H 1
 
index 4914e1da75f4028653228f85f2381a9a5999b40c..746eb47541b415b6a9c7769e560a3961524438ab 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_algorithm.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_ALGORITHM
 #define _CPP_ALGORITHM 1
 
index d8524cac390247080122ab3a03d2780492fb6e44..14b5051e456a0cf7407a6085f969648a94c21784 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */ 
 
+/** @file std_bitset.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef __SGI_STL_BITSET
 #define __SGI_STL_BITSET
 
index 85b8d295830d21bfb6a2f1f9f8262d58c14d9972..d07a6b791df9e62afb9a11d104671af7e7803007 100644 (file)
 // Improved by Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
 //
 
+/** @file std_complex.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_COMPLEX
 #define _CPP_COMPLEX   1
 
index 2ac8f88353a6cfde35afa5e4db066d2ef6f88636..394eef3b8457859d522297e579fd066acb4f5f60 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_deque.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_DEQUE
 #define _CPP_DEQUE 1
 
index a0604abbe0dbbe56c32f5761a4af6571e42a1231..52c62d4b1989f6158b1e0174fbf2097ff90caf50 100644 (file)
 // ISO C++ 14882: 27.8  File-based streams
 //
 
+/** @file std_fstream.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_FSTREAM
 #define _CPP_FSTREAM   1
 
index bf67c3a0c187431991e7abee5c5c0866466b04bc..82863cc3e3c9ddb574d663c1fa62c9efe1fc7a63 100644 (file)
  *
  */
 
+/** @file std_functional.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_FUNCTIONAL
 #define _CPP_FUNCTIONAL 1
 
index 5e0cb91bdc1f5f798beda55b6c20fd8ab4534290..3d296b56ba2e6f4889a6e9d38122c0f6d46c0c93 100644 (file)
 // ISO C++ 14882: 27.6.3  Standard manipulators
 //
 
+/** @file std_iomanip.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_IOMANIP
 #define _CPP_IOMANIP 1
 
index abedfe6abc45877d19e4a4a5927339d285e1846e..dfd041f811f7a89204cbd3ccce8decc60ec3c257 100644 (file)
 // ISO C++ 14882: 27.4  Iostreams base classes
 //
 
+/** @file std_ios.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_IOS
 #define _CPP_IOS       1
 
index 03ce3d588397aa06d7a04bad4d5e227d16e9a68d..93c30b3fbf41450f02e202b14a369ff4ec8f9cf8 100644 (file)
 // ISO C++ 14882: 27.2  Forward declarations
 //
 
+/** @file std_iosfwd.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_IOSFWD
 #define _CPP_IOSFWD 1
 
index 45d7a44990b122e4868fdb344f2917b9d46749a7..32893fa55cc4cf5273ed946d2e4551c88ea064bc 100644 (file)
 // ISO C++ 14882: 27.3  Standard iostream objects
 //
 
+/** @file std_iostream.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_IOSTREAM
 #define _CPP_IOSTREAM  1
 
index 66dabde3a8f54a1715e8f13d232d02a5cb65bacf..3f690d7870e483614c76fe19ecf0837f90dc5938 100644 (file)
 // ISO C++ 14882: 27.6.1  Input streams
 //
 
+/** @file std_istream.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_ISTREAM
 #define _CPP_ISTREAM   1
 
index ec670755a935fc69a7c67d41d6c438d155d5d626..3e3541c60893b89b0cb6ad21ace1cf6556e06908 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_iterator.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_ITERATOR
 #define _CPP_ITERATOR 1
 
index 10a5a38d2136a2cf5f811285191b5e689fa09fab..74184e3b9343512801a94865088a99727b30f81e 100644 (file)
 // 18.2.1
 //
 
+/** @file std_limits.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_NUMERIC_LIMITS
 #define _CPP_NUMERIC_LIMITS 1
 
index e34734d1d449461f2b585de902208ff41b65e20d..683e0a7e66dbbcdc0d7d1184017294f549cb3959 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_list.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_LIST
 #define _CPP_LIST 1
 
index 1b3b58f22d92d597254a65e8e1a6051bfd47089f..82089d015397c75eef08204ce96173effa03da2b 100644 (file)
 // ISO C++ 14882: 22.1  Locales
 //
 
+/** @file std_locale.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_LOCALE
 #define _CPP_LOCALE    1
 
index 5239bd078f5d41f09cbd8cdc654025ed37910707..0dd38bfafd383ada5eea289337928a29ca7aacab 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_map.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_MAP
 #define _CPP_MAP 1
 
index 1aab9ffe13f4e3fe8a91c978fb12a611db10bd14..d0b369653840cffcfba75963cd4df95db6d20840 100644 (file)
  *
  */
 
+/** @file std_memory.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_MEMORY
 #define _CPP_MEMORY 1
 
index 88304156cee9e18636ed2ef6d1360820639f0bdb..097c9c35b4b7b6383862e819e993691f47727667 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_numeric.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_NUMERIC
 #define _CPP_NUMERIC 1
 
index 0d00e557d70a26b9ec1cb725e12a97e24fa69489..c1c79db7fb05e6a61a1f543791b60f3c16820ac3 100644 (file)
 // ISO C++ 14882: 27.6.2  Output streams
 //
 
+/** @file std_ostream.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_OSTREAM
 #define _CPP_OSTREAM   1
 
index 87dc80a98c019df6077cf80aa3b5323ff725bc0b..ecf7f4c135d9e54df1ef9dabc0746b8594ab660f 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_queue.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_QUEUE
 #define _CPP_QUEUE 1
 
index 9f3f006f65fbf0e8b4a527fe5f7a1b9d08dee341..dab8e71af5b760e4ded94308bdcf0171d6c1e399 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_set.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_SET
 #define _CPP_SET 1
 
index 0dcd7b96c70aa843b8a0f52d203b703d5e966831..1b8d5eff9472f6b4e5dc8a4dc0742b96615d4b09 100644 (file)
 // ISO C++ 14882: 27.7  String-based streams
 //
 
+/** @file std_sstream.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_SSTREAM
 #define _CPP_SSTREAM   1
 
index 32b1971e5fac76642bff459671023d4ce613451a..166f428bf85566313dbef8e27d8151ff5ccfea44 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_stack.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_STACK
 #define _CPP_STACK 1
 
index 8975f174849ded480187992a855769789d13590c..8ef20ff4cfb4f1948ecd0c50ead10bbfe47017cc 100644 (file)
 // ISO C++ 14882: 27.5  Stream buffers
 //
 
+/** @file std_streambuf.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_STREAMBUF
 #define _CPP_STREAMBUF 1
 
@@ -95,7 +100,7 @@ namespace std
       // the same place.  True for fstreams, false for sstreams.
       bool                     _M_buf_unified; 
 
-       // This is based on _IO_FILE, just reordered to be more
+      // This is based on _IO_FILE, just reordered to be more
       // consistent, and is intended to be the most minimal abstraction
       // for an internal buffer.
       // get == input == read
index 7dd0013c4ede63ddf9c4e6121e87ef22562a9f8d..09347a9b26d5e5d0b1432b9616f2ff0669026b51 100644 (file)
 // ISO C++ 14882: 21  Strings library
 //
 
+/** @file std_string.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_STRING
 #define _CPP_STRING    1
 
index 505f5266af3c8e1cc0bc0b4fe31d2473f0a8a7aa..5917c833818159d07fcd640839a05389a54f0185 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_utility.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_UTILITY
 #define _CPP_UTILITY 1
 
index a250dfd122e84acb2032d5b4c48a387af4b3094b..5f4c112f8e989da5c90c70151594b5511833dce0 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file std_valarray.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_VALARRAY
 #define _CPP_VALARRAY 1
 
index 6177b740ae3b955c6759997f2ad5982fb767cd8e..995daec7249f483616f073f61a3226d6f7f7dabf 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file std_vector.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_VECTOR
 #define _CPP_VECTOR 1
 
index 3053515c52f7ef7c0d1271efad1b53bfe560ea5a..c909f11a890be52a857cc8841ee15b41684e2b56 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_algo.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_ALGO_H
index 7c5c6a02863bde989e7821cbbc20b2f3b33e5fc4..a26a8b59de59b4d8e5713e4a5072092d5a7e677c 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_algobase.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
-
 #ifndef __SGI_STL_INTERNAL_ALGOBASE_H
 #define __SGI_STL_INTERNAL_ALGOBASE_H
 
@@ -81,6 +81,15 @@ namespace std
 
   // swap and iter_swap
 
+  /**
+   *  @brief Swaps the contents of two iterators.
+   *  @param  a  An iterator.
+   *  @param  b  Another iterator.
+   *  @return   Nothing.
+   *
+   *  This function swaps the values pointed to by two iterators, not the
+   *  iterators themselves.
+  */
   template<typename _ForwardIter1, typename _ForwardIter2>
     inline void
     iter_swap(_ForwardIter1 __a, _ForwardIter2 __b)
@@ -99,6 +108,15 @@ namespace std
       *__b = __tmp;
     }
 
+  /**
+   *  @brief Swaps two values.
+   *  @param  a  A thing of arbitrary type.
+   *  @param  b  Another thing of arbitrary type.
+   *  @return   Nothing.
+   *
+   *  This is the simple classic generic implementation.  It will work on
+   *  any type which has a copy constructor and an assignment operator.
+  */
   template<typename _Tp>
     inline void
     swap(_Tp& __a, _Tp& __b)
@@ -117,6 +135,16 @@ namespace std
   #undef min
   #undef max
 
+  /**
+   *  @brief This does what you think it does.
+   *  @param  a  A thing of arbitrary type.
+   *  @param  b  Another thing of arbitrary type.
+   *  @return   The lesser of the parameters.
+   *
+   *  This is the simple classic generic implementation.  It will work on
+   *  temporary expressions, since they are only evaluated once, unlike a
+   *  preprocessor macro.
+  */
   template<typename _Tp>
     inline const _Tp&
     min(const _Tp& __a, const _Tp& __b)
index c0a9a46197b930fae97ef747dcef69396e036187..4279ba0321a8a19bcd87987db1fcac6c007ccfd2 100644 (file)
@@ -40,8 +40,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_alloc.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_ALLOC_H
index 9a51f5e89961df1697f6b8ba38c0366fb8e6d8b0..fddf02ad8e73a1438731380d201c8ddb24eeef13 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_bvector.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_BVECTOR_H
index 385317d51fa3dffba785005468a758e4c06727c9..73753b64a146f3279b4506b77ea13237ce61e43f 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_construct.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef _CPP_BITS_STL_CONSTRUCT_H
index 34eafc23934c760fc4e448ea9a077680685c5b59..a1dda2f8b9eeea1125292b8adb44fe5d5e96f785 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_deque.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #include <bits/concept_check.h>
index 51a939a3dcb1d5f87417d2a02290d3848dcf9881..9fbead498dbfce26de93eb0952e9bcfb47fece60 100644 (file)
@@ -54,8 +54,8 @@
  */
 
 /** @file stl_function.h
- *  This is an internal header file, included by other STL headers.  You
- *  should not attempt to use it directly.
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_FUNCTION_H
@@ -96,7 +96,7 @@ namespace std
  *  @{
 */
 /**
- *  This is one of the @link s20_3_1_base functor base classes @endlink.
+ *  This is one of the @link s20_3_1_base functor base classes@endlink.
 */
 template <class _Arg, class _Result>
 struct unary_function {
@@ -105,7 +105,7 @@ struct unary_function {
 };
 
 /**
- *  This is one of the @link s20_3_1_base functor base classes @endlink.
+ *  This is one of the @link s20_3_1_base functor base classes@endlink.
 */
 template <class _Arg1, class _Arg2, class _Result>
 struct binary_function {
@@ -119,42 +119,42 @@ struct binary_function {
 /** @defgroup s20_3_2_arithmetic Arithmetic Classes
  *  Because basic math often needs to be done during an algorithm, the library
  *  provides functors for those operations.  See the documentation for
- *  @link s20_3_1_base the base classes @endlink for examples of their use.
+ *  @link s20_3_1_base the base classes@endlink for examples of their use.
  *
  *  @{
 */
-/// One of the @link s20_3_2_arithmetic math functors @endlink.
+/// One of the @link s20_3_2_arithmetic math functors@endlink.
 template <class _Tp>
 struct plus : public binary_function<_Tp,_Tp,_Tp> {
   _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; }
 };
 
-/// One of the @link s20_3_2_arithmetic math functors @endlink.
+/// One of the @link s20_3_2_arithmetic math functors@endlink.
 template <class _Tp>
 struct minus : public binary_function<_Tp,_Tp,_Tp> {
   _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; }
 };
 
-/// One of the @link s20_3_2_arithmetic math functors @endlink.
+/// One of the @link s20_3_2_arithmetic math functors@endlink.
 template <class _Tp>
 struct multiplies : public binary_function<_Tp,_Tp,_Tp> {
   _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; }
 };
 
-/// One of the @link s20_3_2_arithmetic math functors @endlink.
+/// One of the @link s20_3_2_arithmetic math functors@endlink.
 template <class _Tp>
 struct divides : public binary_function<_Tp,_Tp,_Tp> {
   _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; }
 };
 
-/// One of the @link s20_3_2_arithmetic math functors @endlink.
+/// One of the @link s20_3_2_arithmetic math functors@endlink.
 template <class _Tp>
 struct modulus : public binary_function<_Tp,_Tp,_Tp> 
 {
   _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; }
 };
 
-/// One of the @link s20_3_2_arithmetic math functors @endlink.
+/// One of the @link s20_3_2_arithmetic math functors@endlink.
 template <class _Tp>
 struct negate : public unary_function<_Tp,_Tp> 
 {
@@ -188,42 +188,42 @@ template <class _Tp> inline _Tp identity_element(multiplies<_Tp>) {
  *
  *  @{
 */
-/// One of the @link s20_3_3_comparisons comparison functors @endlink.
+/// One of the @link s20_3_3_comparisons comparison functors@endlink.
 template <class _Tp>
 struct equal_to : public binary_function<_Tp,_Tp,bool> 
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; }
 };
 
-/// One of the @link s20_3_3_comparisons comparison functors @endlink.
+/// One of the @link s20_3_3_comparisons comparison functors@endlink.
 template <class _Tp>
 struct not_equal_to : public binary_function<_Tp,_Tp,bool> 
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x != __y; }
 };
 
-/// One of the @link s20_3_3_comparisons comparison functors @endlink.
+/// One of the @link s20_3_3_comparisons comparison functors@endlink.
 template <class _Tp>
 struct greater : public binary_function<_Tp,_Tp,bool> 
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x > __y; }
 };
 
-/// One of the @link s20_3_3_comparisons comparison functors @endlink.
+/// One of the @link s20_3_3_comparisons comparison functors@endlink.
 template <class _Tp>
 struct less : public binary_function<_Tp,_Tp,bool> 
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x < __y; }
 };
 
-/// One of the @link s20_3_3_comparisons comparison functors @endlink.
+/// One of the @link s20_3_3_comparisons comparison functors@endlink.
 template <class _Tp>
 struct greater_equal : public binary_function<_Tp,_Tp,bool>
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x >= __y; }
 };
 
-/// One of the @link s20_3_3_comparisons comparison functors @endlink.
+/// One of the @link s20_3_3_comparisons comparison functors@endlink.
 template <class _Tp>
 struct less_equal : public binary_function<_Tp,_Tp,bool> 
 {
@@ -237,21 +237,21 @@ struct less_equal : public binary_function<_Tp,_Tp,bool>
  *
  *  @{
 */
-/// One of the @link s20_3_4_logical Boolean operations functors @endlink.
+/// One of the @link s20_3_4_logical Boolean operations functors@endlink.
 template <class _Tp>
 struct logical_and : public binary_function<_Tp,_Tp,bool>
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x && __y; }
 };
 
-/// One of the @link s20_3_4_logical Boolean operations functors @endlink.
+/// One of the @link s20_3_4_logical Boolean operations functors@endlink.
 template <class _Tp>
 struct logical_or : public binary_function<_Tp,_Tp,bool>
 {
   bool operator()(const _Tp& __x, const _Tp& __y) const { return __x || __y; }
 };
 
-/// One of the @link s20_3_4_logical Boolean operations functors @endlink.
+/// One of the @link s20_3_4_logical Boolean operations functors@endlink.
 template <class _Tp>
 struct logical_not : public unary_function<_Tp,bool>
 {
@@ -286,7 +286,7 @@ struct logical_not : public unary_function<_Tp,bool>
  *
  *  @{
 */
-/// One of the @link s20_3_5_negators negation functors @endlink.
+/// One of the @link s20_3_5_negators negation functors@endlink.
 template <class _Predicate>
 class unary_negate
   : public unary_function<typename _Predicate::argument_type, bool> {
@@ -299,7 +299,7 @@ public:
   }
 };
 
-/// One of the @link s20_3_5_negators negation functors @endlink.
+/// One of the @link s20_3_5_negators negation functors@endlink.
 template <class _Predicate>
 inline unary_negate<_Predicate> 
 not1(const _Predicate& __pred)
@@ -307,7 +307,7 @@ not1(const _Predicate& __pred)
   return unary_negate<_Predicate>(__pred);
 }
 
-/// One of the @link s20_3_5_negators negation functors @endlink.
+/// One of the @link s20_3_5_negators negation functors@endlink.
 template <class _Predicate> 
 class binary_negate 
   : public binary_function<typename _Predicate::first_argument_type,
@@ -324,7 +324,7 @@ public:
   }
 };
 
-/// One of the @link s20_3_5_negators negation functors @endlink.
+/// One of the @link s20_3_5_negators negation functors@endlink.
 template <class _Predicate>
 inline binary_negate<_Predicate> 
 not2(const _Predicate& __pred)
@@ -364,7 +364,7 @@ not2(const _Predicate& __pred)
  *
  *  @{
 */
-/// One of the @link s20_3_6_binder binder functors @endlink.
+/// One of the @link s20_3_6_binder binder functors@endlink.
 template <class _Operation> 
 class binder1st
   : public unary_function<typename _Operation::second_argument_type,
@@ -389,7 +389,7 @@ public:
 #endif
 };
 
-/// One of the @link s20_3_6_binder binder functors @endlink.
+/// One of the @link s20_3_6_binder binder functors@endlink.
 template <class _Operation, class _Tp>
 inline binder1st<_Operation> 
 bind1st(const _Operation& __fn, const _Tp& __x) 
@@ -398,7 +398,7 @@ bind1st(const _Operation& __fn, const _Tp& __x)
   return binder1st<_Operation>(__fn, _Arg1_type(__x));
 }
 
-/// One of the @link s20_3_6_binder binder functors @endlink.
+/// One of the @link s20_3_6_binder binder functors@endlink.
 template <class _Operation> 
 class binder2nd
   : public unary_function<typename _Operation::first_argument_type,
@@ -423,7 +423,7 @@ public:
 #endif
 };
 
-/// One of the @link s20_3_6_binder binder functors @endlink.
+/// One of the @link s20_3_6_binder binder functors@endlink.
 template <class _Operation, class _Tp>
 inline binder2nd<_Operation> 
 bind2nd(const _Operation& __fn, const _Tp& __x) 
@@ -535,7 +535,7 @@ compose2(const _Operation1& __fn1, const _Operation2& __fn2,
  *
  *  @{
 */
-/// One of the @link s20_3_7_adaptors adaptors for function pointers @endlink.
+/// One of the @link s20_3_7_adaptors adaptors for function pointers@endlink.
 template <class _Arg, class _Result>
 class pointer_to_unary_function : public unary_function<_Arg, _Result> {
 protected:
@@ -546,14 +546,14 @@ public:
   _Result operator()(_Arg __x) const { return _M_ptr(__x); }
 };
 
-/// One of the @link s20_3_7_adaptors adaptors for function pointers @endlink.
+/// One of the @link s20_3_7_adaptors adaptors for function pointers@endlink.
 template <class _Arg, class _Result>
 inline pointer_to_unary_function<_Arg, _Result> ptr_fun(_Result (*__x)(_Arg))
 {
   return pointer_to_unary_function<_Arg, _Result>(__x);
 }
 
-/// One of the @link s20_3_7_adaptors adaptors for function pointers @endlink.
+/// One of the @link s20_3_7_adaptors adaptors for function pointers@endlink.
 template <class _Arg1, class _Arg2, class _Result>
 class pointer_to_binary_function : 
   public binary_function<_Arg1,_Arg2,_Result> {
@@ -568,7 +568,7 @@ public:
     }
 };
 
-/// One of the @link s20_3_7_adaptors adaptors for function pointers @endlink.
+/// One of the @link s20_3_7_adaptors adaptors for function pointers@endlink.
 template <class _Arg1, class _Arg2, class _Result>
 inline pointer_to_binary_function<_Arg1,_Arg2,_Result> 
 ptr_fun(_Result (*__x)(_Arg1, _Arg2)) {
@@ -823,7 +823,7 @@ public:
  *
  *  @{
 */
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp>
 class mem_fun_t : public unary_function<_Tp*,_Ret> {
 public:
@@ -833,7 +833,7 @@ private:
   _Ret (_Tp::*_M_f)();
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp>
 class const_mem_fun_t : public unary_function<const _Tp*,_Ret> {
 public:
@@ -843,7 +843,7 @@ private:
   _Ret (_Tp::*_M_f)() const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp>
 class mem_fun_ref_t : public unary_function<_Tp,_Ret> {
 public:
@@ -853,7 +853,7 @@ private:
   _Ret (_Tp::*_M_f)();
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp>
 class const_mem_fun_ref_t : public unary_function<_Tp,_Ret> {
 public:
@@ -863,7 +863,7 @@ private:
   _Ret (_Tp::*_M_f)() const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp, class _Arg>
 class mem_fun1_t : public binary_function<_Tp*,_Arg,_Ret> {
 public:
@@ -873,7 +873,7 @@ private:
   _Ret (_Tp::*_M_f)(_Arg);
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp, class _Arg>
 class const_mem_fun1_t : public binary_function<const _Tp*,_Arg,_Ret> {
 public:
@@ -884,7 +884,7 @@ private:
   _Ret (_Tp::*_M_f)(_Arg) const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp, class _Arg>
 class mem_fun1_ref_t : public binary_function<_Tp,_Arg,_Ret> {
 public:
@@ -894,7 +894,7 @@ private:
   _Ret (_Tp::*_M_f)(_Arg);
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Ret, class _Tp, class _Arg>
 class const_mem_fun1_ref_t : public binary_function<_Tp,_Arg,_Ret> {
 public:
@@ -904,7 +904,7 @@ private:
   _Ret (_Tp::*_M_f)(_Arg) const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp>
 class mem_fun_t<void, _Tp> : public unary_function<_Tp*,void> {
 public:
@@ -914,7 +914,7 @@ private:
   void (_Tp::*_M_f)();
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp>
 class const_mem_fun_t<void, _Tp> : public unary_function<const _Tp*,void> {
 public:
@@ -924,7 +924,7 @@ private:
   void (_Tp::*_M_f)() const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp>
 class mem_fun_ref_t<void, _Tp> : public unary_function<_Tp,void> {
 public:
@@ -934,7 +934,7 @@ private:
   void (_Tp::*_M_f)();
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp>
 class const_mem_fun_ref_t<void, _Tp> : public unary_function<_Tp,void> {
 public:
@@ -944,7 +944,7 @@ private:
   void (_Tp::*_M_f)() const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp, class _Arg>
 class mem_fun1_t<void, _Tp, _Arg> : public binary_function<_Tp*,_Arg,void> {
 public:
@@ -954,7 +954,7 @@ private:
   void (_Tp::*_M_f)(_Arg);
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp, class _Arg>
 class const_mem_fun1_t<void, _Tp, _Arg> 
   : public binary_function<const _Tp*,_Arg,void> {
@@ -965,7 +965,7 @@ private:
   void (_Tp::*_M_f)(_Arg) const;
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp, class _Arg>
 class mem_fun1_ref_t<void, _Tp, _Arg>
   : public binary_function<_Tp,_Arg,void> {
@@ -976,7 +976,7 @@ private:
   void (_Tp::*_M_f)(_Arg);
 };
 
-/// One of the @link s20_3_8_memadaptors adaptors for member pointers @endlink.
+/// One of the @link s20_3_8_memadaptors adaptors for member pointers@endlink.
 template <class _Tp, class _Arg>
 class const_mem_fun1_ref_t<void, _Tp, _Arg>
   : public binary_function<_Tp,_Arg,void> {
index 8f4d06804cdb051fd20f9c0e4005f26e60ebb179..c19195aad39a4dab6e04c8f79d90586d50dc6d68 100644 (file)
@@ -52,8 +52,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_heap.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef _CPP_BITS_STL_HEAP_H
index 3929f79565db54ab6ff5651283aff5fdc7733b56..abf5e520c3fed0d44d3e7f9a7302dce04a45a817 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_iterator.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_ITERATOR_H
index 07fc896fad8d98ff9b3047a2460f483f8fe569fc..1dda9c228ef6a791c1589ed35da04c71b1d5cb54 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_iterator_base_funcs.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_ITERATOR_BASE_FUNCS_H
index bb6b8ead924baded5a05191c485cec1093916e02..65aaa66f6cec34df194b1dbd8bdc737d3b325fcd 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_iterator_base_types.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_ITERATOR_BASE_TYPES_H
index d699dcd21ac314ced1a538f724941aed4b9754c3..4feaa7157bbc2995cc2f9b525bb5a559c37aea2e 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_list.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_LIST_H
index 45f3d588ade62ac8f10df8dcca102370912db27e..7c00699406ceda90b6ba74e7a977713bc994e7b9 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_map.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef _CPP_BITS_STL_MAP_H
index f812e37216f6a682648b4dfe572461692518fa3a..65e264f257e7decf47a021ef2536ca96fd15f196 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_multimap.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_MULTIMAP_H
index 8aa207dffb35d0cae208e237b303fbabfddefc44..0ae57a6cb380e5a7b8a785518236e9cf265a3303 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_multiset.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_MULTISET_H
index 65083f703f04c1cc3c4488c5e2e2a656819d051e..9bceee0a750a0f0c747b4f16a2c69053622e741f 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_numeric.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
-
 #ifndef _CPP_BITS_STL_NUMERIC_H
 #define _CPP_BITS_STL_NUMERIC_H 1
 
index 7bb1dfdff03ac5e223ff70366fd6277ba5e54a50..10cc2e32258647bf870a5174fd40840b12d4203e 100644 (file)
@@ -54,8 +54,8 @@
  */
 
 /** @file stl_pair.h
- *  This is an internal header file, included by other STL headers.  You
- *  should not attempt to use it directly.
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_PAIR_H
index af77be4999ac3ff9783b10f12285a574ea2efffd..09b7d727af65cab36c7baa430246e7d5fba3ae53 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file stl_pthread_alloc.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_STL_PTHREAD_ALLOC_H
 #define _CPP_BITS_STL_PTHREAD_ALLOC_H 1
 
index 7b2ae94e380406459c419c98e7f066234d7ec284..82e6e5972feffb065e03e643f0e4192ae67b4953 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_queue.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_QUEUE_H
index e513db55d333bd75cbe0de3ef504202ad47fa3da..58c45cd3f0ce16d15f7551c9edaf75e7449d09b4 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- * You should not attempt to use it directly.
+/** @file stl_raw_storage_iter.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef _CPP_BITS_STL_RAW_STORAGE_ITERATOR_H
index 567edcfbb0adbd01e23177bedebc32e3d9a9e74b..d4d3d222022fee04361789db2d059efa888e6663 100644 (file)
  *
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
- */
-
-/**** libstdc++-v3 note:  Inclusion of this file has been removed from
+/* +++ libstdc++-v3 note:  Inclusion of this file has been removed from
  * all of the other STL headers for safety reasons, except std_utility.h.
  * For more information, see the thread of about twenty messages starting
  * with <URL:http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html>, or the
  * Don't use them.
 */
 
+/** @file stl_relops.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_STL_RELOPS_H
 #define _CPP_BITS_STL_RELOPS_H 1
 
index 880e5f6a95b2a3fd9d9ce0f042e6ae75d3b08dca..22dcef308a4b2c6f7a9d5734ebb48bdf19b08865 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_set.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_SET_H
index b0bca258bc59598ac663793411b813358b6b653b..0352ec5368d1c070a29bd7e505219c1b4a0466e0 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_stack.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_STACK_H
index f6b154f585463addd3a40900e3390ab7cfa7ae44..cbae35a43b3210e6b9d40da8e22485a5ed193b4b 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_tempbuf.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_TEMPBUF_H
index dd27422f5c0ab1a9129cdb0223b995ee1ee4fda2..20c3deb16fc87fd191c19cdf2cb64ea0ffd1b2b0 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-// WARNING: This is an internal header file, included by other C++
-// standard library headers.  You should not attempt to use this header
-// file directly.
-// Stl_config.h should be included before this file.
+/** @file stl_threads.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
 
 #ifndef __SGI_STL_INTERNAL_THREADS_H
 #define __SGI_STL_INTERNAL_THREADS_H
index 87dc603c6ec13c4c76c80ca373a09f79c769b95f..b0a052e442aade6ea408d7052276fa37603988b6 100644 (file)
@@ -55,8 +55,9 @@
  *
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_tree.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_TREE_H
index 383e0842179865e35830c87d1e58cb0ebd59f7ab..5c107a4600c158a2c39245c000b72dea30741de1 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_uninitialized.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef _CPP_BITS_STL_UNINITIALIZED_H
index 4ac20ba8dbc79ea3a2208bdd566b1846b314003a..157d31f1dd49de886822dfc894d49450d9a184f8 100644 (file)
@@ -53,8 +53,9 @@
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
-/* NOTE: This is an internal header file, included by other STL headers.
- *   You should not attempt to use it directly.
+/** @file stl_vector.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
  */
 
 #ifndef __SGI_STL_INTERNAL_VECTOR_H
index c6bde4edf17eadf24dd4734ce3df7ebefad71293..4897fc36fefb4caf9cd54fe2b5254a6ebfdb36c2 100644 (file)
 // invalidate any other reasons why the executable file might be covered by
 // the GNU General Public License.
 
+/** @file stream_iterator.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_STREAM_ITERATOR_H
 #define _CPP_BITS_STREAM_ITERATOR_H 1
 
index 3f946dabe7f518214f0b513d8bfa26154f93eedf..2f8b4b44070b6f7b4bf2b6af99d52235768e3b16 100644 (file)
 
 // XXX Should specialize copy, find algorithms for streambuf iterators.
 
+/** @file streambuf_iterator.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_STREAMBUF_ITERATOR_H
 #define _CPP_BITS_STREAMBUF_ITERATOR_H 1
 
index dd8bbe56c0b85023f524d31ba5cea4d7271e403e..5197f9703fdb456dd03265744f5d0dd479c09235 100644 (file)
 // ISO C++ 14882: 21 Strings library
 //
 
+/** @file stringfwd.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_STRINGFWD_H
 #define _CPP_BITS_STRINGFWD_H  1
 
index ff5f5a1fb27db58199d6a14b4db3f2d92a43cf73..2471013bf61a3315708261188d788104afa9e5bf 100644 (file)
  * purpose.  It is provided "as is" without express or implied warranty.
  */
 
+/** @file type_traits.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_TYPE_TRAITS_H
 #define _CPP_BITS_TYPE_TRAITS_H 1
 
index d163d0530ff9ede1219f7efe77809ce3943305a5..1ef10e60b010cbb822a55f9a4fd9324e208ee93c 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
 
+/** @file valarray_array.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_BITS_ARRAY_H
 #define _CPP_BITS_ARRAY_H 1
 
index 002fe5f901b22b51a8d6f3a388186b9c65c4a44d..b4c85ba7c997f7f0ee12134357406dea0469ddcf 100644 (file)
 
 // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
 
+/** @file valarray_meta.h
+ *  This is an internal header file, included by other library headers.
+ *  You should not attempt to use it directly.
+ */
+
 #ifndef _CPP_VALARRAY_META_H
 #define _CPP_VALARRAY_META_H 1