Commit f910786b by Benjamin Kosnik Committed by Benjamin Kosnik

*: Use headername alias to associate private includes to public includes.

2010-11-18  Benjamin Kosnik  <bkoz@redhat.com>

	* config/*/*: Use headername alias to associate private includes
	to public includes.
	* include/*/*: Same.

	* scripts/run_doxygen: Update for doxygen 1.7.2.
	* doc/doxygen/user.cfg.in: Same.
	* doc/doxygen/TODO: Remove.

	* testsuite/*/std_c++0x_neg.cc: Adjust line number.

From-SVN: r168046
parent f3fb6590
2010-11-18 Benjamin Kosnik <bkoz@redhat.com>
* config/*/*: Use headername alias to associate private includes
to public includes.
* include/*/*: Same.
* scripts/run_doxygen: Update for doxygen 1.7.2.
* doc/doxygen/user.cfg.in: Same.
* doc/doxygen/TODO: Remove.
* testsuite/*/std_c++0x_neg.cc: Adjust line number.
2010-12-17 Paolo Carlini <paolo.carlini@oracle.com> 2010-12-17 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/basic_string.h (operator+(basic_string<>&&, * include/bits/basic_string.h (operator+(basic_string<>&&,
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++allocator.h /** @file bits/c++allocator.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{memory}
*/ */
#ifndef _GLIBCXX_CXX_ALLOCATOR_H #ifndef _GLIBCXX_CXX_ALLOCATOR_H
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++allocator.h /** @file bits/c++allocator.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{memory}
*/ */
#ifndef _GLIBCXX_CXX_ALLOCATOR_H #ifndef _GLIBCXX_CXX_ALLOCATOR_H
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++allocator.h /** @file bits/c++allocator.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{memory}
*/ */
#ifndef _GLIBCXX_CXX_ALLOCATOR_H #ifndef _GLIBCXX_CXX_ALLOCATOR_H
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++allocator.h /** @file bits/c++allocator.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{memory}
*/ */
#ifndef _GLIBCXX_CXX_ALLOCATOR_H #ifndef _GLIBCXX_CXX_ALLOCATOR_H
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++allocator.h /** @file bits/c++allocator.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{memory}
*/ */
#ifndef _GLIBCXX_CXX_ALLOCATOR_H #ifndef _GLIBCXX_CXX_ALLOCATOR_H
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ext/atomicity.h
* This file is a GNU extension to the Standard C++ Library.
*/
#include <bits/c++config.h> #include <bits/c++config.h>
#include <bits/atomic_word.h> #include <bits/atomic_word.h>
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ext/atomicity.h
* This file is a GNU extension to the Standard C++ Library.
*/
#include <ext/atomicity.h> #include <ext/atomicity.h>
#include <ext/concurrence.h> #include <ext/concurrence.h>
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file cpu_defines.h /** @file bits/cpu_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_CPU_DEFINES #ifndef _GLIBCXX_CPU_DEFINES
......
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/cpu_defines.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{iosfwd}
*/
#ifndef _GLIBCXX_CPU_DEFINES #ifndef _GLIBCXX_CPU_DEFINES
#define _GLIBCXX_CPU_DEFINES 1 #define _GLIBCXX_CPU_DEFINES 1
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file cpu_defines.h /** @file bits/cpu_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_CPU_DEFINES #ifndef _GLIBCXX_CPU_DEFINES
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
// ISO C++ 14882: 27.8 File-based streams // ISO C++ 14882: 27.8 File-based streams
// //
/** @file basic_file.h /** @file bits/basic_file.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{ios}
*/ */
#ifndef _GLIBCXX_BASIC_FILE_STDIO_H #ifndef _GLIBCXX_BASIC_FILE_STDIO_H
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++io.h /** @file bits/c++io.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{ios}
*/ */
// c_io_stdio.h - Defines for using "C" stdio.h // c_io_stdio.h - Defines for using "C" stdio.h
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++locale.h /** @file bits/c++locale.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file messages_members.h /** @file bits/messages_members.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file time_members.h /** @file bits/time_members.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++locale_internal.h /** @file bits/c++locale_internal.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// Written by Jakub Jelinek <jakub@redhat.com> // Written by Jakub Jelinek <jakub@redhat.com>
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++locale.h /** @file bits/c++locale.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file messages_members.h /** @file bits/messages_members.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file time_members.h /** @file bits/time_members.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++locale.h /** @file bits/c++locale.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file messages_members.h /** @file bits/messages_members.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/atomic_word.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{ext/atomicity.h}
*/
#ifndef _GLIBCXX_ATOMIC_WORD_H #ifndef _GLIBCXX_ATOMIC_WORD_H
#define _GLIBCXX_ATOMIC_WORD_H 1 #define _GLIBCXX_ATOMIC_WORD_H 1
...@@ -33,6 +38,6 @@ typedef int _Atomic_word; ...@@ -33,6 +38,6 @@ typedef int _Atomic_word;
#else #else
#define _GLIBCXX_READ_MEM_BARRIER __asm __volatile ("":::"memory") #define _GLIBCXX_READ_MEM_BARRIER __asm __volatile ("":::"memory")
#define _GLIBCXX_WRITE_MEM_BARRIER __asm __volatile ("":::"memory") #define _GLIBCXX_WRITE_MEM_BARRIER __asm __volatile ("":::"memory")
#endif #endif
#endif #endif
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
// a copy of the GCC Runtime Library Exception along with this program; // a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
...@@ -33,17 +33,17 @@ ...@@ -33,17 +33,17 @@
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
ctype<char>:: ctype<char>::
is(mask __m, char __c) const is(mask __m, char __c) const
{ return __OBJ_DATA(__lc_ctype)->mask[__c] & __m; } { return __OBJ_DATA(__lc_ctype)->mask[__c] & __m; }
const char* const char*
ctype<char>:: ctype<char>::
is(const char* __low, const char* __high, mask* __vec) const is(const char* __low, const char* __high, mask* __vec) const
{ {
while (__low < __high) while (__low < __high)
*__vec++ = __OBJ_DATA(__lc_ctype)->mask[*__low++]; *__vec++ = __OBJ_DATA(__lc_ctype)->mask[*__low++];
...@@ -52,7 +52,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -52,7 +52,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
const char* const char*
ctype<char>:: ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const scan_is(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high && !this->is(__m, *__low)) while (__low < __high && !this->is(__m, *__low))
++__low; ++__low;
...@@ -61,7 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -61,7 +61,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
const char* const char*
ctype<char>:: ctype<char>::
scan_not(mask __m, const char* __low, const char* __high) const scan_not(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high && this->is(__m, *__low) != 0) while (__low < __high && this->is(__m, *__low) != 0)
++__low; ++__low;
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -89,4 +89,3 @@ ...@@ -89,4 +89,3 @@
} }
return __high; return __high;
} }
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from /usr/include/ctype.h on FreeBSD 3.4, // Information as gleaned from /usr/include/ctype.h on FreeBSD 3.4,
// 4.0 and all versions of the CVS managed file at: // 4.0 and all versions of the CVS managed file at:
// :pserver:anoncvs@anoncvs.freebsd.org:/home/ncvs/src/include/ctype.h // :pserver:anoncvs@anoncvs.freebsd.org:/home/ncvs/src/include/ctype.h
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
/// @brief Base class for ctype. /// @brief Base class for ctype.
......
...@@ -22,24 +22,24 @@ ...@@ -22,24 +22,24 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
ctype<char>:: ctype<char>::
is(mask __m, char __c) const is(mask __m, char __c) const
{ {
if (_M_table) if (_M_table)
return _M_table[static_cast<unsigned char>(__c)] & __m; return _M_table[static_cast<unsigned char>(__c)] & __m;
else else
...@@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
return __low; return __low;
} }
#ifdef _GLIBCXX_USE_WCHAR_T #ifdef _GLIBCXX_USE_WCHAR_T
inline bool inline bool
ctype<wchar_t>:: ctype<wchar_t>::
do_is(mask __m, wchar_t __c) const do_is(mask __m, wchar_t __c) const
...@@ -115,7 +115,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -115,7 +115,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
return __istype (__c, __m); return __istype (__c, __m);
} }
inline const wchar_t* inline const wchar_t*
ctype<wchar_t>:: ctype<wchar_t>::
do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const do_is(const wchar_t* __lo, const wchar_t* __hi, mask* __vec) const
{ {
...@@ -124,8 +124,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -124,8 +124,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
| space | print | graph | cntrl | punct | alnum); | space | print | graph | cntrl | punct | alnum);
return __hi; return __hi;
} }
inline const wchar_t* inline const wchar_t*
ctype<wchar_t>:: ctype<wchar_t>::
do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const do_scan_is(mask __m, const wchar_t* __lo, const wchar_t* __hi) const
{ {
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,28 +22,28 @@ ...@@ -22,28 +22,28 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
ctype<char>:: ctype<char>::
is(mask __m, char __c) const is(mask __m, char __c) const
{ return _M_table[static_cast<unsigned char>(__c)] & __m; } { return _M_table[static_cast<unsigned char>(__c)] & __m; }
const char* const char*
ctype<char>:: ctype<char>::
is(const char* __low, const char* __high, mask* __vec) const is(const char* __low, const char* __high, mask* __vec) const
{ {
while (__low < __high) while (__low < __high)
*__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; *__vec++ = _M_table[static_cast<unsigned char>(*__low++)];
...@@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const scan_is(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high while (__low < __high
&& !(_M_table[static_cast<unsigned char>(*__low)] & __m)) && !(_M_table[static_cast<unsigned char>(*__low)] & __m))
++__low; ++__low;
return __low; return __low;
...@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
scan_not(mask __m, const char* __low, const char* __high) const scan_not(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high while (__low < __high
&& (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0) && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
++__low; ++__low;
return __low; return __low;
......
...@@ -22,38 +22,38 @@ ...@@ -22,38 +22,38 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from DJGPP <ctype.h> // Information as gleaned from DJGPP <ctype.h>
const ctype_base::mask* const ctype_base::mask*
ctype<char>::classic_table() throw() ctype<char>::classic_table() throw()
{ return __dj_ctype_flags+1; } { return __dj_ctype_flags+1; }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del, ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs) size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(__dj_ctype_toupper), _M_tolower(__dj_ctype_tolower), _M_toupper(__dj_ctype_toupper), _M_tolower(__dj_ctype_tolower),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
_M_narrow_ok = 0; _M_narrow_ok = 0;
} }
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(__dj_ctype_toupper), _M_tolower(__dj_ctype_tolower), _M_toupper(__dj_ctype_toupper), _M_tolower(__dj_ctype_tolower),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
ctype<char>::do_tolower(char __c) const ctype<char>::do_tolower(char __c) const
{ return _M_tolower[static_cast<unsigned char>(__c)]; } { return _M_tolower[static_cast<unsigned char>(__c)]; }
const char* const char*
ctype<char>::do_tolower(char* __low, const char* __high) const ctype<char>::do_tolower(char* __low, const char* __high) const
{ {
while (__low < __high) while (__low < __high)
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file error_constants.h /** @file bits/error_constants.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{system_error}
*/ */
#ifndef _GLIBCXX_ERROR_CONSTANTS #ifndef _GLIBCXX_ERROR_CONSTANTS
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Default information, may not be appropriate for specific host. // Default information, may not be appropriate for specific host.
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
/// @brief Base class for ctype. /// @brief Base class for ctype.
...@@ -38,7 +38,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -38,7 +38,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// NB: Offsets into ctype<char>::_M_table force a particular size // NB: Offsets into ctype<char>::_M_table force a particular size
// on the mask type. Because of this, we don't use an enum. // on the mask type. Because of this, we don't use an enum.
typedef unsigned int mask; typedef unsigned int mask;
static const mask upper = 1 << 0; static const mask upper = 1 << 0;
static const mask lower = 1 << 1; static const mask lower = 1 << 1;
static const mask alpha = 1 << 2; static const mask alpha = 1 << 2;
...@@ -46,7 +46,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -46,7 +46,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
static const mask xdigit = 1 << 4; static const mask xdigit = 1 << 4;
static const mask space = 1 << 5; static const mask space = 1 << 5;
static const mask print = 1 << 6; static const mask print = 1 << 6;
static const mask graph = (1 << 2) | (1 << 3) | (1 << 9); // alnum|punct static const mask graph = (1 << 2) | (1 << 3) | (1 << 9); // alnum|punct
static const mask cntrl = 1 << 8; static const mask cntrl = 1 << 8;
static const mask punct = 1 << 9; static const mask punct = 1 << 9;
static const mask alnum = (1 << 2) | (1 << 3); // alpha|digit static const mask alnum = (1 << 2) | (1 << 3); // alpha|digit
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file error_constants.h /** @file bits/error_constants.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{system_error}
*/ */
#ifndef _GLIBCXX_ERROR_CONSTANTS #ifndef _GLIBCXX_ERROR_CONSTANTS
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -23,17 +23,17 @@ ...@@ -23,17 +23,17 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/ctype_base.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{locale}
*/
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
/** @file ctype_base.h
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
/// @brief Base class for ctype. /// @brief Base class for ctype.
...@@ -44,7 +44,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -44,7 +44,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// NB: Offsets into ctype<char>::_M_table force a particular size // NB: Offsets into ctype<char>::_M_table force a particular size
// on the mask type. Because of this, we don't use an enum. // on the mask type. Because of this, we don't use an enum.
typedef unsigned short mask; typedef unsigned short mask;
static const mask upper = _ISupper; static const mask upper = _ISupper;
static const mask lower = _ISlower; static const mask lower = _ISlower;
static const mask alpha = _ISalpha; static const mask alpha = _ISalpha;
......
...@@ -22,18 +22,18 @@ ...@@ -22,18 +22,18 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
...@@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const scan_is(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high while (__low < __high
&& !(_M_table[static_cast<unsigned char>(*__low)] & __m)) && !(_M_table[static_cast<unsigned char>(*__low)] & __m))
++__low; ++__low;
return __low; return __low;
...@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
scan_not(mask __m, const char* __low, const char* __high) const scan_not(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high while (__low < __high
&& (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0) && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
++__low; ++__low;
return __low; return __low;
......
...@@ -24,15 +24,15 @@ ...@@ -24,15 +24,15 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
#if _GLIBCXX_C_LOCALE_GNU #if _GLIBCXX_C_LOCALE_GNU
...@@ -68,31 +68,31 @@ ...@@ -68,31 +68,31 @@
#endif #endif
#if _GLIBCXX_C_LOCALE_GNU #if _GLIBCXX_C_LOCALE_GNU
ctype<char>::ctype(__c_locale __cloc, const mask* __table, bool __del, ctype<char>::ctype(__c_locale __cloc, const mask* __table, bool __del,
size_t __refs) size_t __refs)
: facet(__refs), _M_c_locale_ctype(_S_clone_c_locale(__cloc)), : facet(__refs), _M_c_locale_ctype(_S_clone_c_locale(__cloc)),
_M_del(__table != 0 && __del), _M_del(__table != 0 && __del),
_M_toupper(_M_c_locale_ctype->__ctype_toupper), _M_toupper(_M_c_locale_ctype->__ctype_toupper),
_M_tolower(_M_c_locale_ctype->__ctype_tolower), _M_tolower(_M_c_locale_ctype->__ctype_tolower),
_M_table(__table ? __table : _M_c_locale_ctype->__ctype_b), _M_table(__table ? __table : _M_c_locale_ctype->__ctype_b),
_M_widen_ok(0), _M_narrow_ok(0) _M_widen_ok(0), _M_narrow_ok(0)
{ {
__builtin_memset(_M_widen, 0, sizeof(_M_widen)); __builtin_memset(_M_widen, 0, sizeof(_M_widen));
__builtin_memset(_M_narrow, 0, sizeof(_M_narrow)); __builtin_memset(_M_narrow, 0, sizeof(_M_narrow));
} }
#else #else
ctype<char>::ctype(__c_locale, const mask* __table, bool __del, ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs) size_t __refs)
: facet(__refs), _M_c_locale_ctype(_S_get_c_locale()), : facet(__refs), _M_c_locale_ctype(_S_get_c_locale()),
_M_del(__table != 0 && __del), _M_widen_ok(0), _M_narrow_ok(0) _M_del(__table != 0 && __del), _M_widen_ok(0), _M_narrow_ok(0)
{ {
char* __old = setlocale(LC_CTYPE, NULL); char* __old = setlocale(LC_CTYPE, NULL);
char* __sav = NULL; char* __sav = NULL;
if (__builtin_strcmp(__old, "C")) if (__builtin_strcmp(__old, "C"))
{ {
const size_t __len = __builtin_strlen(__old) + 1; const size_t __len = __builtin_strlen(__old) + 1;
__sav = new char[__len]; __sav = new char[__len];
__builtin_memcpy(__sav, __old, __len); __builtin_memcpy(__sav, __old, __len);
setlocale(LC_CTYPE, "C"); setlocale(LC_CTYPE, "C");
} }
#if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
...@@ -115,20 +115,20 @@ ...@@ -115,20 +115,20 @@
#endif #endif
#if _GLIBCXX_C_LOCALE_GNU #if _GLIBCXX_C_LOCALE_GNU
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: facet(__refs), _M_c_locale_ctype(_S_get_c_locale()), : facet(__refs), _M_c_locale_ctype(_S_get_c_locale()),
_M_del(__table != 0 && __del), _M_del(__table != 0 && __del),
_M_toupper(_M_c_locale_ctype->__ctype_toupper), _M_toupper(_M_c_locale_ctype->__ctype_toupper),
_M_tolower(_M_c_locale_ctype->__ctype_tolower), _M_tolower(_M_c_locale_ctype->__ctype_tolower),
_M_table(__table ? __table : _M_c_locale_ctype->__ctype_b), _M_table(__table ? __table : _M_c_locale_ctype->__ctype_b),
_M_widen_ok(0), _M_narrow_ok(0) _M_widen_ok(0), _M_narrow_ok(0)
{ {
__builtin_memset(_M_widen, 0, sizeof(_M_widen)); __builtin_memset(_M_widen, 0, sizeof(_M_widen));
__builtin_memset(_M_narrow, 0, sizeof(_M_narrow)); __builtin_memset(_M_narrow, 0, sizeof(_M_narrow));
} }
#else #else
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: facet(__refs), _M_c_locale_ctype(_S_get_c_locale()), : facet(__refs), _M_c_locale_ctype(_S_get_c_locale()),
_M_del(__table != 0 && __del), _M_widen_ok(0), _M_narrow_ok(0) _M_del(__table != 0 && __del), _M_widen_ok(0), _M_narrow_ok(0)
{ {
char* __old = setlocale(LC_CTYPE, NULL); char* __old = setlocale(LC_CTYPE, NULL);
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
ctype<char>::do_tolower(char __c) const ctype<char>::do_tolower(char __c) const
{ return _M_tolower[static_cast<unsigned char>(__c)]; } { return _M_tolower[static_cast<unsigned char>(__c)]; }
const char* const char*
ctype<char>::do_tolower(char* __low, const char* __high) const ctype<char>::do_tolower(char* __low, const char* __high) const
{ {
while (__low < __high) while (__low < __high)
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/atomic_word.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{ext/atomicity.h}
*/
#ifndef _GLIBCXX_ATOMIC_WORD_H #ifndef _GLIBCXX_ATOMIC_WORD_H
#define _GLIBCXX_ATOMIC_WORD_H 1 #define _GLIBCXX_ATOMIC_WORD_H 1
......
...@@ -22,12 +22,17 @@ ...@@ -22,12 +22,17 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/ctype_base.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{locale}
*/
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from /usr/include/ctype.h on irix 6.5 // Information as gleaned from /usr/include/ctype.h on irix 6.5
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
/// @brief Base class for ctype. /// @brief Base class for ctype.
......
...@@ -22,18 +22,18 @@ ...@@ -22,18 +22,18 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
......
...@@ -22,28 +22,28 @@ ...@@ -22,28 +22,28 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
const ctype_base::mask* const ctype_base::mask*
ctype<char>::classic_table() throw() ctype<char>::classic_table() throw()
{ return 0; } { return 0; }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del, ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs) size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(!__table ? _M_table(!__table ?
(const mask*) (__libc_attr._ctype_tbl->_class + 1) : __table) (const mask*) (__libc_attr._ctype_tbl->_class + 1) : __table)
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -51,11 +51,11 @@ ...@@ -51,11 +51,11 @@
} }
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(!__table ? _M_table(!__table ?
(const mask*) (__libc_attr._ctype_tbl->_class + 1) : __table) (const mask*) (__libc_attr._ctype_tbl->_class + 1) : __table)
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
ctype<char>::do_tolower(char __c) const ctype<char>::do_tolower(char __c) const
{ return _tolower(__c); } { return _tolower(__c); }
const char* const char*
ctype<char>::do_tolower(char* __low, const char* __high) const ctype<char>::do_tolower(char* __low, const char* __high) const
{ {
while (__low < __high) while (__low < __high)
...@@ -91,4 +91,3 @@ ...@@ -91,4 +91,3 @@
} }
return __high; return __high;
} }
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/os_defines.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{iosfwd}
*/
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
#define _GLIBCXX_OS_DEFINES 1 #define _GLIBCXX_OS_DEFINES 1
......
...@@ -22,15 +22,15 @@ ...@@ -22,15 +22,15 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
...@@ -40,11 +40,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -40,11 +40,11 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
is(mask __m, char __c) const is(mask __m, char __c) const
{ return (_M_table[static_cast<unsigned char>(__c) ] & __m); } { return (_M_table[static_cast<unsigned char>(__c) ] & __m); }
const char* const char*
ctype<char>:: ctype<char>::
is(const char* __low, const char* __high, mask* __vec) const is(const char* __low, const char* __high, mask* __vec) const
{ {
while (__low < __high) while (__low < __high)
*__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; *__vec++ = _M_table[static_cast<unsigned char>(*__low++)];
......
...@@ -23,15 +23,15 @@ ...@@ -23,15 +23,15 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// The classic table used in libstdc++ is *not* the C _ctype table // The classic table used in libstdc++ is *not* the C _ctype table
// used by mscvrt, but is based on the ctype masks defined for libstdc++ // used by mscvrt, but is based on the ctype masks defined for libstdc++
// in ctype_base.h. // in ctype_base.h.
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
const ctype_base::mask* const ctype_base::mask*
ctype<char>::classic_table() throw() ctype<char>::classic_table() throw()
{ {
static const ctype_base::mask _S_classic_table[256] = static const ctype_base::mask _S_classic_table[256] =
{ {
cntrl /* null */, cntrl /* null */,
cntrl /* ^A */, cntrl /* ^A */,
...@@ -182,23 +182,23 @@ ...@@ -182,23 +182,23 @@
return _S_classic_table; return _S_classic_table;
} }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del, ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs) size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
_M_narrow_ok = 0; _M_narrow_ok = 0;
} }
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
ctype<char>::do_tolower(char __c) const ctype<char>::do_tolower(char __c) const
{ return (this->is(ctype_base::upper, __c) ? (__c - 'A' + 'a') : __c); } { return (this->is(ctype_base::upper, __c) ? (__c - 'A' + 'a') : __c); }
const char* const char*
ctype<char>::do_tolower(char* __low, const char* __high) const ctype<char>::do_tolower(char* __low, const char* __high) const
{ {
while (__low < __high) while (__low < __high)
...@@ -234,7 +234,3 @@ ...@@ -234,7 +234,3 @@
} }
return __high; return __high;
} }
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file error_constants.h /** @file bits/error_constants.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{system_error}
*/ */
#ifndef _GLIBCXX_ERROR_CONSTANTS #ifndef _GLIBCXX_ERROR_CONSTANTS
...@@ -80,8 +80,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -80,8 +80,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
// no_child_process = ECHILD, // no_child_process = ECHILD,
// no_link = ENOLINK, // no_link = ENOLINK,
no_lock_available = ENOLCK, no_lock_available = ENOLCK,
// no_message_available = ENODATA, // no_message_available = ENODATA,
// no_message = ENOMSG, // no_message = ENOMSG,
// no_protocol_option = ENOPROTOOPT, // no_protocol_option = ENOPROTOOPT,
// no_space_on_device = ENOSPC, // no_space_on_device = ENOSPC,
// no_stream_resources = ENOSR, // no_stream_resources = ENOSR,
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,18 +22,18 @@ ...@@ -22,18 +22,18 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
...@@ -52,7 +52,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -52,7 +52,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
const char* const char*
ctype<char>:: ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const scan_is(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high && !this->is(__m, *__low)) while (__low < __high && !this->is(__m, *__low))
++__low; ++__low;
......
...@@ -22,38 +22,38 @@ ...@@ -22,38 +22,38 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
const ctype_base::mask* const ctype_base::mask*
ctype<char>::classic_table() throw() ctype<char>::classic_table() throw()
{ return _ctype_ + 1; } { return _ctype_ + 1; }
ctype<char>::ctype(__c_locale, const mask* __table, bool __del, ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
size_t __refs) size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
_M_narrow_ok = 0; _M_narrow_ok = 0;
} }
ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
: facet(__refs), _M_del(__table != 0 && __del), : facet(__refs), _M_del(__table != 0 && __del),
_M_toupper(NULL), _M_tolower(NULL), _M_toupper(NULL), _M_tolower(NULL),
_M_table(__table ? __table : classic_table()) _M_table(__table ? __table : classic_table())
{ {
memset(_M_widen, 0, sizeof(_M_widen)); memset(_M_widen, 0, sizeof(_M_widen));
_M_widen_ok = 0; _M_widen_ok = 0;
memset(_M_narrow, 0, sizeof(_M_narrow)); memset(_M_narrow, 0, sizeof(_M_narrow));
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
char char
ctype<char>::do_toupper(char __c) const ctype<char>::do_toupper(char __c) const
{ {
int __x = __c; int __x = __c;
return (this->is(ctype_base::lower, __c) ? (__x - 'a' + 'A') : __x); return (this->is(ctype_base::lower, __c) ? (__x - 'a' + 'A') : __x);
} }
...@@ -80,12 +80,12 @@ ...@@ -80,12 +80,12 @@
char char
ctype<char>::do_tolower(char __c) const ctype<char>::do_tolower(char __c) const
{ {
int __x = __c; int __x = __c;
return (this->is(ctype_base::upper, __c) ? (__x - 'A' + 'a') : __x); return (this->is(ctype_base::upper, __c) ? (__x - 'A' + 'a') : __x);
} }
const char* const char*
ctype<char>::do_tolower(char* __low, const char* __high) const ctype<char>::do_tolower(char* __low, const char* __high) const
{ {
while (__low < __high) while (__low < __high)
...@@ -95,4 +95,3 @@ ...@@ -95,4 +95,3 @@
} }
return __high; return __high;
} }
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,12 +22,17 @@ ...@@ -22,12 +22,17 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/ctype_base.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{locale}
*/
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// Information as gleaned from /usr/include/ctype.h. // Information as gleaned from /usr/include/ctype.h.
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
/// @brief Base class for ctype. /// @brief Base class for ctype.
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -23,30 +23,30 @@ ...@@ -23,30 +23,30 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/ctype_base.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{locale}
*/
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
/** @file ctype_base.h
* This is an internal header file, included by other library headers.
* You should not attempt to use it directly.
*/
// Information as gleaned from /usr/include/ctype.h // Information as gleaned from /usr/include/ctype.h
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
/// @brief Base class for ctype. /// @brief Base class for ctype.
struct ctype_base struct ctype_base
{ {
// Note: In uClibc, the following two types depend on configuration. // Note: In uClibc, the following two types depend on configuration.
// Non-standard typedefs. // Non-standard typedefs.
typedef const __ctype_touplow_t* __to_type; typedef const __ctype_touplow_t* __to_type;
// NB: Offsets into ctype<char>::_M_table force a particular size // NB: Offsets into ctype<char>::_M_table force a particular size
// on the mask type. Because of this, we don't use an enum. // on the mask type. Because of this, we don't use an enum.
typedef __ctype_mask_t mask; typedef __ctype_mask_t mask;
static const mask upper = _ISupper; static const mask upper = _ISupper;
static const mask lower = _ISlower; static const mask lower = _ISlower;
static const mask alpha = _ISalpha; static const mask alpha = _ISalpha;
......
...@@ -22,18 +22,18 @@ ...@@ -22,18 +22,18 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
// ISO C++ 14882: 22.1 Locales // ISO C++ 14882: 22.1 Locales
// //
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*) // ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc // functions go in ctype.cc
_GLIBCXX_BEGIN_NAMESPACE(std) _GLIBCXX_BEGIN_NAMESPACE(std)
bool bool
...@@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -54,7 +54,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
scan_is(mask __m, const char* __low, const char* __high) const scan_is(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high while (__low < __high
&& !(_M_table[static_cast<unsigned char>(*__low)] & __m)) && !(_M_table[static_cast<unsigned char>(*__low)] & __m))
++__low; ++__low;
return __low; return __low;
...@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) ...@@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
ctype<char>:: ctype<char>::
scan_not(mask __m, const char* __low, const char* __high) const scan_not(mask __m, const char* __low, const char* __high) const
{ {
while (__low < __high while (__low < __high
&& (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0) && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
++__low; ++__low;
return __low; return __low;
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_inline.h /** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file ctype_noninline.h /** @file bits/ctype_noninline.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file os_defines.h /** @file bits/os_defines.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_OS_DEFINES #ifndef _GLIBCXX_OS_DEFINES
......
The approach I've been using for a given header is to recursively do each
of the "bits" headers which make up the standard header. So, e.g., while
there are four headers making up <algorithm>, three of them were already
documented in the course of doing other headers.
"Untouched" means I've deliberately skipped it for various reasons, or
haven't gotten to it yet. It /will/ be done (by somebody, eventually.)
If you document an area and need to skip (for whatever reason) a non-trivial
entity (i.e., one that should be documented), go ahead and add the comment
markup, and use the homegrown @doctodo tag. See include/bits/stl_iterator.h
for examples of this. Doing so will at least cause doxygen to consider the
entitiy as documented and include it in the output. It will also add the
entity to the generated TODO page.
Area Still needs to be doxygen-documented
-----------------------------------------------------------
c17 FINISHED (Nothing in Clause 17 "exists" in terms of code.)
c18 FINISHED, Note A
c19 Note A
c20 Note A
c21 Public functions basic_string done, Note B
c22 Most still to do; see docs/html/22_locale/*
c23 See doxygroups.cc and Note B. Notes on what invalidates
iterators need to be added.
c24 stl_iterator.h (__normal_iterator, other small TODO bits)
stream iterators
c25 stl_algo.h (lots of stuff)
c26 <complex>, <valarray>, stl_numeric.h[26.4], Note A
c27 ios_base callbacks and local storage
basic_ios::copyfmt()
std_streambuf.h's __copy_streambufs()
" " _M_* protected memfns (data has been done)
fstream and sstream protected members
backward/* Not scanned by doxygen. Should it be? Doubtful.
ext/* Some of the SGI algorithm/functional extensions.
All of rope/hashing/slist need docs.
__gnu_cxx Tricky. Right now ext/* are in this namespace.
-----------------------------------------------------------
NOTES:
A) So far I have not tried to document any of the <c*> headers. So entities
such as atexit() are undocumented throughout the library. Since we usually
do not have the C code (to which the doxygen comments would be attached),
this would need to be done in entirely separate files, a la doxygroups.cc.
B) Huge chunks of containers and strings are described in common "Tables"
in the standard. These are pseudo-duplicated in tables.html. We can
use doxygen hooks like @pre and @see to reference the tables. Then the
individual classes do like the standard does, and only document members for
which additional info is available.
STYLE:
stl_deque.h, stl_pair.h, and stl_algobase.h have good examples of what I've
been using for class, namespace-scope, and function documentation, respectively.
These should serve as starting points. /Please/ maintain the inter-word and
inter-sentence spacing, as this might be generated and/or scanned in the
future.
vim:ts=4:et:
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
/** @file bits/algorithmfwd.h /** @file bits/algorithmfwd.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{algorithm}
*/ */
#ifndef _GLIBCXX_ALGORITHMFWD_H #ifndef _GLIBCXX_ALGORITHMFWD_H
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
* purpose. It is provided "as is" without express or implied warranty. * purpose. It is provided "as is" without express or implied warranty.
*/ */
/** @file allocator.h /** @file bits/allocator.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{memory}
*/ */
#ifndef _ALLOCATOR_H #ifndef _ALLOCATOR_H
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
/** @file bits/atomic_0.h /** @file bits/atomic_0.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{atomic}
*/ */
#ifndef _GLIBCXX_ATOMIC_0_H #ifndef _GLIBCXX_ATOMIC_0_H
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/atomic_2.h /** @file bits/atomic_2.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{atomic}
*/ */
#ifndef _GLIBCXX_ATOMIC_2_H #ifndef _GLIBCXX_ATOMIC_2_H
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file bits/atomic_base.h /** @file bits/atomic_base.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{atomic}
*/ */
#ifndef _GLIBCXX_ATOMIC_BASE_H #ifndef _GLIBCXX_ATOMIC_BASE_H
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file basic_ios.h /** @file bits/basic_ios.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{ios}
*/ */
#ifndef _BASIC_IOS_H #ifndef _BASIC_IOS_H
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file basic_ios.tcc /** @file bits/basic_ios.tcc
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{ios}
*/ */
#ifndef _BASIC_IOS_TCC #ifndef _BASIC_IOS_TCC
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file basic_string.h /** @file bits/basic_string.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{string}
*/ */
// //
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file basic_string.tcc /** @file bits/basic_string.tcc
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{string}
*/ */
// //
......
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
// to its suitability for any purpose. // to its suitability for any purpose.
// //
/** @file boost_concept_check.h /** @file bits/boost_concept_check.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iterator}
*/ */
// GCC Note: based on version 1.12.0 of the Boost library. // GCC Note: based on version 1.12.0 of the Boost library.
......
...@@ -20,8 +20,9 @@ ...@@ -20,8 +20,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++0x_warning.h /** @file bits/c++0x_warning.h
* This is a Standard C++ Library header. * This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _CXX0X_WARNING_H #ifndef _CXX0X_WARNING_H
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file c++config.h /** @file bits/c++config.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iosfwd}
*/ */
#ifndef _GLIBCXX_CXX_CONFIG_H #ifndef _GLIBCXX_CXX_CONFIG_H
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file char_traits.h /** @file bits/char_traits.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{string}
*/ */
// //
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
/** @file bits/codecvt.h /** @file bits/codecvt.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{locale}
*/ */
// //
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file concept_check.h /** @file bits/concept_check.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{iterator}
*/ */
#ifndef _CONCEPT_CHECK_H #ifndef _CONCEPT_CHECK_H
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file cpp_type_traits.h /** @file bits/cpp_type_traits.h
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{ext/type_traits}
*/ */
// Written by Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> // Written by Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
......
...@@ -50,9 +50,9 @@ ...@@ -50,9 +50,9 @@
* purpose. It is provided "as is" without express or implied warranty. * purpose. It is provided "as is" without express or implied warranty.
*/ */
/** @file deque.tcc /** @file bits/deque.tcc
* This is an internal header file, included by other library headers. * This is an internal header file, included by other library headers.
* You should not attempt to use it directly. * Do not attempt to use it directly. @headername{deque}
*/ */
#ifndef _DEQUE_TCC #ifndef _DEQUE_TCC
......
...@@ -22,8 +22,9 @@ ...@@ -22,8 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file forward_list.h /** @file bits/forward_list.h
* This is a Standard C++ Library header. * This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{forward_list}
*/ */
#ifndef _FORWARD_LIST_H #ifndef _FORWARD_LIST_H
......
...@@ -22,8 +22,9 @@ ...@@ -22,8 +22,9 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>. // <http://www.gnu.org/licenses/>.
/** @file forward_list.tcc /** @file bits/forward_list.tcc
* This is a Standard C++ Library header. * This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{forward_list}
*/ */
#ifndef _FORWARD_LIST_TCC #ifndef _FORWARD_LIST_TCC
......
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