Commit 0aa06b18 by Benjamin Kosnik Committed by Benjamin Kosnik

doxygroups.cc: Add std::tr1 namespace.


2004-11-23  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
	* docs/doxygen/run_doxygen: Renames for std::tr1.
	* docs/doxygen/user.cfg.in: Add cxxabi.h.
	* include/bits/*.tcc: Add file markup.
	* include/bits/allocator.h: Add link to allocator.html.
	* include/bits/atomicity.h: Add file markup.
	* include/bits/concurrence.h: Same.
	* include/bits/functexcept.h: Same.
	* include/ext*: Adjust file markup, remove GCC3 bits.
	* include/std/*: Adjust file markup, remove bits about renamed files.
	* libsupc++/cxxabi.h: Add file markup.
	* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.

From-SVN: r91135
parent af746697
2004-11-23 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/doxygroups.cc: Add std::tr1 namespace.
* docs/doxygen/run_doxygen: Renames for std::tr1.
* docs/doxygen/user.cfg.in: Add cxxabi.h.
* include/bits/*.tcc: Add file markup.
* include/bits/allocator.h: Add link to allocator.html.
* include/bits/atomicity.h: Add file markup.
* include/bits/concurrence.h: Same.
* include/bits/functexcept.h: Same.
* include/ext*: Adjust file markup, remove GCC3 bits.
* include/std/*: Adjust file markup, remove bits about renamed files.
* libsupc++/cxxabi.h: Add file markup.
* testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers.
2004-11-22 Benjamin Kosnik <bkoz@redhat.com> 2004-11-22 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (isspace, isprint, isupper, * include/bits/locale_facets.h (isspace, isprint, isupper,
......
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
/** @namespace std /** @namespace std
* @brief Everything defined by the ISO C++ Standard is within namespace std. * @brief Everything defined by the ISO C++ Standard is within namespace std.
*/ */
/** @namespace std::tr1
* @brief Everything defined by the TR1 is within namespace std::tr1.
*/
/** @namespace __gnu_cxx /** @namespace __gnu_cxx
* @brief This namespace serves two purposes. * @brief This namespace serves two purposes.
* *
......
...@@ -282,6 +282,10 @@ cp ${srcdir}/docs/doxygen/Intro.3 C++Intro.3 ...@@ -282,6 +282,10 @@ cp ${srcdir}/docs/doxygen/Intro.3 C++Intro.3
# Why didn't I do this at the start? Were rabid weasels eating my brain? # Why didn't I do this at the start? Were rabid weasels eating my brain?
# Who the fsck would "man std_vector" when the class isn't named that? # Who the fsck would "man std_vector" when the class isn't named that?
for f in std_tr1_*; do
newname=`echo $f | sed 's/^std_tr1_/std::tr1::/'`
mv $f $newname
done
for f in std_*; do for f in std_*; do
newname=`echo $f | sed 's/^std_/std::/'` newname=`echo $f | sed 's/^std_/std::/'`
mv $f $newname mv $f $newname
......
...@@ -76,6 +76,7 @@ INPUT = @srcdir@/docs/doxygen/doxygroups.cc \ ...@@ -76,6 +76,7 @@ INPUT = @srcdir@/docs/doxygen/doxygroups.cc \
@srcdir@/libsupc++/exception \ @srcdir@/libsupc++/exception \
@srcdir@/libsupc++/new \ @srcdir@/libsupc++/new \
@srcdir@/libsupc++/typeinfo \ @srcdir@/libsupc++/typeinfo \
@srcdir@/libsupc++/cxxabi.h \
include/algorithm \ include/algorithm \
include/bitset \ include/bitset \
include/deque \ include/deque \
...@@ -148,7 +149,8 @@ ALPHABETICAL_INDEX = YES ...@@ -148,7 +149,8 @@ ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 2 COLS_IN_ALPHA_INDEX = 2
IGNORE_PREFIX = std \ IGNORE_PREFIX = std \
__gnu_cxx \ __gnu_cxx \
__gnu_debug __gnu_debug \
std::tr1
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the HTML output # configuration options related to the HTML output
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
......
...@@ -56,6 +56,7 @@ namespace std ...@@ -56,6 +56,7 @@ namespace std
template<typename _Tp> template<typename _Tp>
class allocator; class allocator;
/// allocator<void> specialization.
template<> template<>
class allocator<void> class allocator<void>
{ {
...@@ -71,7 +72,12 @@ namespace std ...@@ -71,7 +72,12 @@ namespace std
{ typedef allocator<_Tp1> other; }; { typedef allocator<_Tp1> other; };
}; };
/// @brief The "standard" allocator, as per [20.4]. /**
* @brief The "standard" allocator, as per [20.4].
*
* Further details:
* http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html
*/
template<typename _Tp> template<typename _Tp>
class allocator: public ___glibcxx_base_allocator<_Tp> class allocator: public ___glibcxx_base_allocator<_Tp>
{ {
......
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file atomicity.h
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
#ifndef _GLIBCXX_ATOMICITY_H #ifndef _GLIBCXX_ATOMICITY_H
#define _GLIBCXX_ATOMICITY_H 1 #define _GLIBCXX_ATOMICITY_H 1
......
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file basic_ios.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
#ifndef _BASIC_IOS_TCC #ifndef _BASIC_IOS_TCC
#define _BASIC_IOS_TCC 1 #define _BASIC_IOS_TCC 1
......
...@@ -28,13 +28,15 @@ ...@@ -28,13 +28,15 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file basic_string.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// //
// ISO C++ 14882: 21 Strings library // ISO C++ 14882: 21 Strings library
// //
// This file is included by <string>. It is not meant to be included
// separately.
// Written by Jason Merrill based upon the specification by Takanori Adachi // Written by Jason Merrill based upon the specification by Takanori Adachi
// in ANSI X3J16/94-0013R2. Rewritten by Nathan Myers to ISO-14882. // in ANSI X3J16/94-0013R2. Rewritten by Nathan Myers to ISO-14882.
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file concurrence.h
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
#ifndef _CONCURRENCE_H #ifndef _CONCURRENCE_H
#define _CONCURRENCE_H 1 #define _CONCURRENCE_H 1
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file fstream.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// //
// ISO C++ 14882: 27.8 File-based streams // ISO C++ 14882: 27.8 File-based streams
// //
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file functexcept.h
* This header provides support for -fno-exceptions.
*/
// //
// ISO C++ 14882: 19.1 Exception classes // ISO C++ 14882: 19.1 Exception classes
// //
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file istream.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// //
// ISO C++ 14882: 27.6.1 Input streams // ISO C++ 14882: 27.6.1 Input streams
// //
......
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
// Warning: this file is not meant for user inclusion. Use <locale>. /** @file locale_facets.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
#ifndef _LOCALE_FACETS_TCC #ifndef _LOCALE_FACETS_TCC
#define _LOCALE_FACETS_TCC 1 #define _LOCALE_FACETS_TCC 1
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file ostream.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// //
// ISO C++ 14882: 27.6.2 Output streams // ISO C++ 14882: 27.6.2 Output streams
// //
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file sstream.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// //
// ISO C++ 14882: 27.7 String-based streams // ISO C++ 14882: 27.7 String-based streams
// //
......
...@@ -28,6 +28,11 @@ ...@@ -28,6 +28,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file streambuf.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// //
// ISO C++ 14882: 27.5 Stream buffers // ISO C++ 14882: 27.5 Stream buffers
// //
......
...@@ -27,6 +27,11 @@ ...@@ -27,6 +27,11 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file valarray_array.tcc
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
#ifndef _VALARRAY_ARRAY_TCC #ifndef _VALARRAY_ARRAY_TCC
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/algorithm /** @file ext/algorithm
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _EXT_ALGORITHM #ifndef _EXT_ALGORITHM
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file ext/array_allocator.h
* This file is a GNU extension to the Standard C++ Library.
*/
#ifndef _ARRAY_ALLOCATOR_H #ifndef _ARRAY_ALLOCATOR_H
#define _ARRAY_ALLOCATOR_H 1 #define _ARRAY_ALLOCATOR_H 1
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
/** @file ext/bitmap_allocator.h /** @file ext/bitmap_allocator.h
* This file is a GNU extension to the Standard C++ Library. * This file is a GNU extension to the Standard C++ Library.
* You should only include this header if you are using GCC 3 or later.
*/ */
#ifndef _BITMAP_ALLOCATOR_H #ifndef _BITMAP_ALLOCATOR_H
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/functional /** @file ext/functional
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _EXT_FUNCTIONAL #ifndef _EXT_FUNCTIONAL
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/hash_fun.h /** @file ext/hash_fun.h
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _HASH_FUN_H #ifndef _HASH_FUN_H
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/hash_map /** @file ext/hash_map
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _HASH_MAP #ifndef _HASH_MAP
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/hash_set /** @file ext/hash_set
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _HASH_SET #ifndef _HASH_SET
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/hashtable.h /** @file ext/hashtable.h
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _HASHTABLE_H #ifndef _HASHTABLE_H
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/iterator /** @file ext/iterator
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _EXT_ITERATOR #ifndef _EXT_ITERATOR
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file ext/malloc_allocator.h
* This file is a GNU extension to the Standard C++ Library.
*/
#ifndef _MALLOC_ALLOCATOR_H #ifndef _MALLOC_ALLOCATOR_H
#define _MALLOC_ALLOCATOR_H 1 #define _MALLOC_ALLOCATOR_H 1
...@@ -36,7 +40,7 @@ ...@@ -36,7 +40,7 @@
namespace __gnu_cxx namespace __gnu_cxx
{ {
/** /**
* @brief An allocator that uses malloc * @brief An allocator that uses malloc.
* *
* This is precisely the allocator defined in the C++ Standard. * This is precisely the allocator defined in the C++ Standard.
* - all allocation calls malloc * - all allocation calls malloc
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/memory /** @file ext/memory
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _EXT_MEMORY #ifndef _EXT_MEMORY
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
/** @file ext/mt_allocator.h /** @file ext/mt_allocator.h
* This file is a GNU extension to the Standard C++ Library. * This file is a GNU extension to the Standard C++ Library.
* You should only include this header if you are using GCC 3 or later.
*/ */
#ifndef _MT_ALLOCATOR_H #ifndef _MT_ALLOCATOR_H
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file ext/new_allocator.h
* This file is a GNU extension to the Standard C++ Library.
*/
#ifndef _NEW_ALLOCATOR_H #ifndef _NEW_ALLOCATOR_H
#define _NEW_ALLOCATOR_H 1 #define _NEW_ALLOCATOR_H 1
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/numeric /** @file ext/numeric
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _EXT_NUMERIC #ifndef _EXT_NUMERIC
......
// POD character, std::char_traits specialization -*- C++ -*- // POD character, std::char_traits specialization -*- C++ -*-
// Copyright (C) 2002, 2003 Free Software Foundation, Inc. // Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file ext/pod_char_traits.h
* This file is a GNU extension to the Standard C++ Library.
*/
// Gabriel Dos Reis <gdr@integrable-solutions.net> // Gabriel Dos Reis <gdr@integrable-solutions.net>
// Benjamin Kosnik <bkoz@redhat.com> // Benjamin Kosnik <bkoz@redhat.com>
...@@ -37,6 +41,7 @@ ...@@ -37,6 +41,7 @@
namespace __gnu_cxx namespace __gnu_cxx
{ {
/// @brief A POD class that serves as a character abstraction class.
template<typename V, typename I, typename S = mbstate_t> template<typename V, typename I, typename S = mbstate_t>
struct character struct character
{ {
...@@ -59,7 +64,7 @@ namespace __gnu_cxx ...@@ -59,7 +64,7 @@ namespace __gnu_cxx
namespace std namespace std
{ {
// Provide std::char_traits specialization. /// char_traits<__gnu_cxx::character> specialization.
template<typename V, typename I, typename S> template<typename V, typename I, typename S>
struct char_traits<__gnu_cxx::character<V, I, S> > struct char_traits<__gnu_cxx::character<V, I, S> >
{ {
......
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
/** @file ext/pool_allocator.h /** @file ext/pool_allocator.h
* This file is a GNU extension to the Standard C++ Library. * This file is a GNU extension to the Standard C++ Library.
* You should only include this header if you are using GCC 3 or later.
*/ */
#ifndef _POOL_ALLOCATOR_H #ifndef _POOL_ALLOCATOR_H
#define _POOL_ALLOCATOR_H 1 #define _POOL_ALLOCATOR_H 1
...@@ -117,7 +117,7 @@ namespace __gnu_cxx ...@@ -117,7 +117,7 @@ namespace __gnu_cxx
}; };
/// @brief Class __pool_alloc. /// @brief class __pool_alloc.
template<typename _Tp> template<typename _Tp>
class __pool_alloc : private __pool_alloc_base class __pool_alloc : private __pool_alloc_base
{ {
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
/** @file ext/rb_tree /** @file ext/rb_tree
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _RB_TREE #ifndef _RB_TREE
......
...@@ -42,8 +42,7 @@ ...@@ -42,8 +42,7 @@
/** @file ext/rope /** @file ext/rope
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _ROPE #ifndef _ROPE
......
...@@ -43,8 +43,7 @@ ...@@ -43,8 +43,7 @@
/** @file ext/slist /** @file ext/slist
* This file is a GNU extension to the Standard C++ Library (possibly * This file is a GNU extension to the Standard C++ Library (possibly
* containing extensions from the HP/SGI STL subset). You should only * containing extensions from the HP/SGI STL subset).
* include this header if you are using GCC 3 or later.
*/ */
#ifndef _SLIST #ifndef _SLIST
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file /** @file
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_ALGORITHM #ifndef _GLIBCXX_ALGORITHM
......
...@@ -41,8 +41,7 @@ ...@@ -41,8 +41,7 @@
*/ */
/** @file bitset /** @file bitset
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_BITSET #ifndef _GLIBCXX_BITSET
......
...@@ -36,8 +36,7 @@ ...@@ -36,8 +36,7 @@
// //
/** @file complex /** @file complex
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_COMPLEX #ifndef _GLIBCXX_COMPLEX
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file deque /** @file deque
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_DEQUE #ifndef _GLIBCXX_DEQUE
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file fstream /** @file fstream
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_FSTREAM #ifndef _GLIBCXX_FSTREAM
......
...@@ -42,8 +42,7 @@ ...@@ -42,8 +42,7 @@
*/ */
/** @file /** @file
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_FUNCTIONAL #ifndef _GLIBCXX_FUNCTIONAL
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file iomanip /** @file iomanip
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_IOMANIP #ifndef _GLIBCXX_IOMANIP
......
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
// //
/** @file ios /** @file ios
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_IOS #ifndef _GLIBCXX_IOS
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file iosfwd /** @file iosfwd
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_IOSFWD #ifndef _GLIBCXX_IOSFWD
......
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
// //
/** @file iostream /** @file iostream
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_IOSTREAM #ifndef _GLIBCXX_IOSTREAM
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file istream /** @file istream
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_ISTREAM #ifndef _GLIBCXX_ISTREAM
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file iterator /** @file iterator
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_ITERATOR #ifndef _GLIBCXX_ITERATOR
......
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
/** @file limits
* This is a Standard C++ Library header.
*/
// Note: this is not a conforming implementation. // Note: this is not a conforming implementation.
// Written by Gabriel Dos Reis <gdr@codesourcery.com> // Written by Gabriel Dos Reis <gdr@codesourcery.com>
...@@ -35,11 +39,6 @@ ...@@ -35,11 +39,6 @@
// 18.2.1 // 18.2.1
// //
/** @file limits
* This is a Standard C++ Library header. You should @c #include this header
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/
#ifndef _GLIBCXX_NUMERIC_LIMITS #ifndef _GLIBCXX_NUMERIC_LIMITS
#define _GLIBCXX_NUMERIC_LIMITS 1 #define _GLIBCXX_NUMERIC_LIMITS 1
...@@ -310,6 +309,8 @@ namespace std ...@@ -310,6 +309,8 @@ namespace std
// Now there follow 15 explicit specializations. Yes, 15. Make sure // Now there follow 15 explicit specializations. Yes, 15. Make sure
// you get the count right. // you get the count right.
/// numeric_limits<bool> specialization.
template<> template<>
struct numeric_limits<bool> struct numeric_limits<bool>
{ {
...@@ -363,6 +364,7 @@ namespace std ...@@ -363,6 +364,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<char> specialization.
template<> template<>
struct numeric_limits<char> struct numeric_limits<char>
{ {
...@@ -413,6 +415,7 @@ namespace std ...@@ -413,6 +415,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<signed char> specialization.
template<> template<>
struct numeric_limits<signed char> struct numeric_limits<signed char>
{ {
...@@ -463,6 +466,7 @@ namespace std ...@@ -463,6 +466,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<unsigned char> specialization.
template<> template<>
struct numeric_limits<unsigned char> struct numeric_limits<unsigned char>
{ {
...@@ -513,6 +517,7 @@ namespace std ...@@ -513,6 +517,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<wchar_t> specialization.
template<> template<>
struct numeric_limits<wchar_t> struct numeric_limits<wchar_t>
{ {
...@@ -563,6 +568,7 @@ namespace std ...@@ -563,6 +568,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<short> specialization.
template<> template<>
struct numeric_limits<short> struct numeric_limits<short>
{ {
...@@ -613,6 +619,7 @@ namespace std ...@@ -613,6 +619,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<unsigned short> specialization.
template<> template<>
struct numeric_limits<unsigned short> struct numeric_limits<unsigned short>
{ {
...@@ -663,6 +670,7 @@ namespace std ...@@ -663,6 +670,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<int> specialization.
template<> template<>
struct numeric_limits<int> struct numeric_limits<int>
{ {
...@@ -713,6 +721,7 @@ namespace std ...@@ -713,6 +721,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<unsigned int> specialization.
template<> template<>
struct numeric_limits<unsigned int> struct numeric_limits<unsigned int>
{ {
...@@ -763,6 +772,7 @@ namespace std ...@@ -763,6 +772,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<long> specialization.
template<> template<>
struct numeric_limits<long> struct numeric_limits<long>
{ {
...@@ -813,6 +823,7 @@ namespace std ...@@ -813,6 +823,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<unsigned long> specialization.
template<> template<>
struct numeric_limits<unsigned long> struct numeric_limits<unsigned long>
{ {
...@@ -863,6 +874,7 @@ namespace std ...@@ -863,6 +874,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<long long> specialization.
template<> template<>
struct numeric_limits<long long> struct numeric_limits<long long>
{ {
...@@ -913,6 +925,7 @@ namespace std ...@@ -913,6 +925,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<unsigned long long> specialization.
template<> template<>
struct numeric_limits<unsigned long long> struct numeric_limits<unsigned long long>
{ {
...@@ -963,6 +976,7 @@ namespace std ...@@ -963,6 +976,7 @@ namespace std
static const float_round_style round_style = round_toward_zero; static const float_round_style round_style = round_toward_zero;
}; };
/// numeric_limits<float> specialization.
template<> template<>
struct numeric_limits<float> struct numeric_limits<float>
{ {
...@@ -1019,6 +1033,7 @@ namespace std ...@@ -1019,6 +1033,7 @@ namespace std
#undef __glibcxx_float_traps #undef __glibcxx_float_traps
#undef __glibcxx_float_tinyness_before #undef __glibcxx_float_tinyness_before
/// numeric_limits<double> specialization.
template<> template<>
struct numeric_limits<double> struct numeric_limits<double>
{ {
...@@ -1075,6 +1090,7 @@ namespace std ...@@ -1075,6 +1090,7 @@ namespace std
#undef __glibcxx_double_traps #undef __glibcxx_double_traps
#undef __glibcxx_double_tinyness_before #undef __glibcxx_double_tinyness_before
/// numeric_limits<long double> specialization.
template<> template<>
struct numeric_limits<long double> struct numeric_limits<long double>
{ {
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file list /** @file list
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_LIST #ifndef _GLIBCXX_LIST
......
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
// //
/** @file locale /** @file locale
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_LOCALE #ifndef _GLIBCXX_LOCALE
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file map /** @file map
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_MAP #ifndef _GLIBCXX_MAP
......
...@@ -42,8 +42,7 @@ ...@@ -42,8 +42,7 @@
*/ */
/** @file /** @file
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_MEMORY #ifndef _GLIBCXX_MEMORY
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file /** @file
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_NUMERIC #ifndef _GLIBCXX_NUMERIC
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file ostream /** @file ostream
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_OSTREAM #ifndef _GLIBCXX_OSTREAM
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file queue /** @file queue
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_QUEUE #ifndef _GLIBCXX_QUEUE
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file set /** @file set
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_SET #ifndef _GLIBCXX_SET
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file sstream /** @file sstream
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_SSTREAM #ifndef _GLIBCXX_SSTREAM
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file stack /** @file stack
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_STACK #ifndef _GLIBCXX_STACK
......
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
// //
/** @file stdexcept /** @file stdexcept
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_STDEXCEPT #ifndef _GLIBCXX_STDEXCEPT
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file streambuf /** @file streambuf
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBXX_STREAMBUF #ifndef _GLIBXX_STREAMBUF
......
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
// //
/** @file string /** @file string
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_STRING #ifndef _GLIBCXX_STRING
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file utility /** @file utility
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_UTILITY #ifndef _GLIBCXX_UTILITY
......
...@@ -31,8 +31,7 @@ ...@@ -31,8 +31,7 @@
// Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr> // Written by Gabriel Dos Reis <Gabriel.Dos-Reis@DPTMaths.ENS-Cachan.Fr>
/** @file valarray /** @file valarray
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_VALARRAY #ifndef _GLIBCXX_VALARRAY
......
...@@ -54,8 +54,7 @@ ...@@ -54,8 +54,7 @@
*/ */
/** @file vector /** @file vector
* This is a Standard C++ Library header. You should @c #include this header * This is a Standard C++ Library header.
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*/ */
#ifndef _GLIBCXX_VECTOR #ifndef _GLIBCXX_VECTOR
......
...@@ -39,6 +39,10 @@ ...@@ -39,6 +39,10 @@
is includable from both C and C++. Though the C++ specific parts are not is includable from both C and C++. Though the C++ specific parts are not
available in C, naturally enough. */ available in C, naturally enough. */
/** @file cxxabi.h
* The header provides an interface to the C++ ABI.
*/
#ifndef _CXXABI_H #ifndef _CXXABI_H
#define _CXXABI_H 1 #define _CXXABI_H 1
......
...@@ -46,5 +46,5 @@ main() ...@@ -46,5 +46,5 @@ main()
test01(); test01();
return 0; return 0;
} }
// { dg-error "candidates" "" { target *-*-* } 224 } // { dg-error "candidates" "" { target *-*-* } 223 }
// { dg-error "std::auto_ptr" "" { target *-*-* } 354 } // { dg-error "std::auto_ptr" "" { target *-*-* } 353 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment