This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[v3] libstdc++/38080
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 1 Dec 2008 21:09:30 -0800
- Subject: [v3] libstdc++/38080
Fixups for URLs in libstdc++ headers. All but the iostream sentry have
a corresponding link.
tested x86_64/linux
gcc
gcc-4_3-branch
-benjamin
2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/38080
* include/std/iostream: Correct URL.
* include/std/streambuf: Same.
* include/std/bitset: Same.
* include/std/iosfwd: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/bits/basic_ios.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_relops.h: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
Index: include/std/iostream
===================================================================
--- include/std/iostream (revision 142305)
+++ include/std/iostream (working copy)
@@ -1,6 +1,6 @@
// Standard iostream objects -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005
+// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005, 2008
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -52,8 +52,8 @@
*
* The <iostream> header declares the eight <em>standard stream
* objects</em>. For other declarations, see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10 and the
- * @link s27_2_iosfwd I/O forward declarations @endlink
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html
+ * and the @link s27_2_iosfwd I/O forward declarations @endlink
*
* They are required by default to cooperate with the global C library's
* @c FILE streams, and to be available during program startup and
Index: include/std/streambuf
===================================================================
--- include/std/streambuf (revision 142305)
+++ include/std/streambuf (working copy)
@@ -563,8 +563,8 @@
*
* Each derived class provides its own appropriate behavior. See
* the next-to-last paragraph of
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2 for
- * more on this function.
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
+ * for more on this function.
*
* @note Base class version does nothing, returns @c this.
*/
@@ -660,7 +660,7 @@
*
* A functioning input streambuf can be created by overriding only
* this function (no buffer area will be used). For an example, see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#6
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25.html
*
* @note Base class version does nothing, returns eof().
*/
Index: include/std/bitset
===================================================================
--- include/std/bitset (revision 142305)
+++ include/std/bitset (working copy)
@@ -634,7 +634,8 @@
* }
* @endcode
*
- * Also see http://gcc.gnu.org/onlinedocs/libstdc++/ext/sgiexts.html#ch23
+ * Also see:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch33s02.html
* for a description of extensions.
*
* Most of the actual code isn't contained in %bitset<> itself, but in the
Index: include/std/iosfwd
===================================================================
--- include/std/iosfwd (revision 142305)
+++ include/std/iosfwd (working copy)
@@ -125,7 +125,7 @@
* themselves (e.g., "class ostream;") is not valid ISO C++.
*
* For more specific declarations, see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html
*
* @{
*/
Index: include/std/fstream
===================================================================
--- include/std/fstream (revision 142305)
+++ include/std/fstream (working copy)
@@ -325,7 +325,7 @@
* If no file has been opened, and both @a s and @a n are zero, then
* the stream becomes unbuffered. Otherwise, @c s is used as a
* buffer; see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
* for more.
*/
virtual __streambuf_type*
Index: include/std/istream
===================================================================
--- include/std/istream (revision 142305)
+++ include/std/istream (working copy)
@@ -630,10 +630,7 @@
* Objects of this class are created before all of the standard
* extractors are run. It is responsible for "exception-safe prefix and
* suffix operations," although only prefix actions are currently required
- * by the standard. Additional actions may be added by the
- * implementation, and we list them in
- * http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#5
- * under [27.6] notes.
+ * by the standard.
*/
template<typename _CharT, typename _Traits>
class basic_istream<_CharT, _Traits>::sentry
Index: include/std/ostream
===================================================================
--- include/std/ostream (revision 142305)
+++ include/std/ostream (working copy)
@@ -375,10 +375,7 @@
*
* Objects of this class are created before all of the standard
* inserters are run. It is responsible for "exception-safe prefix and
- * suffix operations." Additional actions may be added by the
- * implementation, and we list them in
- * http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#5
- * under [27.6] notes.
+ * suffix operations."
*/
template <typename _CharT, typename _Traits>
class basic_ostream<_CharT, _Traits>::sentry
Index: include/std/sstream
===================================================================
--- include/std/sstream (revision 142305)
+++ include/std/sstream (working copy)
@@ -193,7 +193,7 @@
*
* If no buffer has already been created, and both @a s and @a n are
* non-zero, then @c s is used as a buffer; see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
* for more.
*/
virtual __streambuf_type*
Index: include/bits/basic_ios.h
===================================================================
--- include/bits/basic_ios.h (revision 142305)
+++ include/bits/basic_ios.h (working copy)
@@ -398,7 +398,7 @@
* with this stream, calls that buffer's @c pubimbue(loc).
*
* Additional l10n notes are at
- * http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
*/
locale
imbue(const locale& __loc);
@@ -418,7 +418,7 @@
* @endcode
*
* Additional l10n notes are at
- * http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
*/
char
narrow(char_type __c, char __dfault) const
@@ -437,7 +437,7 @@
* @endcode
*
* Additional l10n notes are at
- * http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
*/
char_type
widen(char __c) const
Index: include/bits/stl_map.h
===================================================================
--- include/bits/stl_map.h (revision 142305)
+++ include/bits/stl_map.h (working copy)
@@ -486,7 +486,7 @@
* cause no gains in efficiency.
*
* See
- * http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
* for more on "hinting".
*
* Insertion requires logarithmic time (if the hint is not taken).
Index: include/bits/stl_set.h
===================================================================
--- include/bits/stl_set.h (revision 142305)
+++ include/bits/stl_set.h (working copy)
@@ -396,9 +396,9 @@
* potentially improve the performance of the insertion process. A bad
* hint would cause no gains in efficiency.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
- * for more on "hinting".
- *
+ * For more on "hinting", see:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
+ *
* Insertion requires logarithmic time (if the hint is not taken).
*/
iterator
@@ -406,7 +406,8 @@
{ return _M_t._M_insert_unique_(__position, __x); }
/**
- * @brief A template function that attempts to insert a range of elements.
+ * @brief A template function that attempts to insert a range
+ * of elements.
* @param first Iterator pointing to the start of the range to be
* inserted.
* @param last Iterator pointing to the end of the range.
Index: include/bits/stl_multimap.h
===================================================================
--- include/bits/stl_multimap.h (revision 142305)
+++ include/bits/stl_multimap.h (working copy)
@@ -422,8 +422,8 @@
* improve the performance of the insertion process. A bad hint would
* cause no gains in efficiency.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
- * for more on "hinting".
+ * For more on "hinting," see:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
*
* Insertion requires logarithmic time (if the hint is not taken).
*/
@@ -432,7 +432,8 @@
{ return _M_t._M_insert_equal_(__position, __x); }
/**
- * @brief A template function that attempts to insert a range of elements.
+ * @brief A template function that attempts to insert a range
+ * of elements.
* @param first Iterator pointing to the start of the range to be
* inserted.
* @param last Iterator pointing to the end of the range.
Index: include/bits/ios_base.h
===================================================================
--- include/bits/ios_base.h (revision 142305)
+++ include/bits/ios_base.h (working copy)
@@ -215,7 +215,7 @@
failure(const string& __str) throw();
// This declaration is not useless:
- // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
+ // http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Vague-Linkage.html
virtual
~failure() throw();
@@ -368,8 +368,7 @@
/// Perform input and output in binary mode (as opposed to text mode).
/// This is probably not what you think it is; see
- /// http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#3 and
- /// http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#7 for more.
+ /// http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch27s02.html
static const openmode binary = _S_bin;
/// Open for input. Default for @c ifstream and fstream.
@@ -663,7 +662,7 @@
* The synchronization referred to is @e only that between the standard
* C facilities (e.g., stdout) and the standard C++ objects (e.g.,
* cout). User-declared streams are unaffected. See
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#8 for more.
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch28s02.html
*/
static bool
sync_with_stdio(bool __sync = true);
Index: include/bits/stl_multiset.h
===================================================================
--- include/bits/stl_multiset.h (revision 142305)
+++ include/bits/stl_multiset.h (working copy)
@@ -384,7 +384,7 @@
* improve the performance of the insertion process. A bad hint would
* cause no gains in efficiency.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
+ * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
* for more on "hinting".
*
* Insertion requires logarithmic time (if the hint is not taken).
Index: include/bits/char_traits.h
===================================================================
--- include/bits/char_traits.h (revision 142305)
+++ include/bits/char_traits.h (working copy)
@@ -81,7 +81,7 @@
* may not be specialized for fundamental types, but classes in
* namespace __gnu_cxx may be.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
+ * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html
* for advice on how to make use of this class for "unusual" character
* types. Also, check out include/ext/pod_char_traits.h.
*/
@@ -222,7 +222,7 @@
* __gnu_cxx::char_traits, it is possible to achieve a more
* appropriate definition by specializing __gnu_cxx::char_traits.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
+ * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html
* for advice on how to make use of this class for "unusual" character
* types. Also, check out include/ext/pod_char_traits.h.
*/
Index: include/bits/stl_relops.h
===================================================================
--- include/bits/stl_relops.h (revision 142305)
+++ include/bits/stl_relops.h (working copy)
@@ -60,8 +60,8 @@
* Inclusion of this file has been removed from
* all of the other STL headers for safety reasons, except std_utility.h.
* For more information, see the thread of about twenty messages starting
- * with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html , or the
- * FAQ at http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4 .
+ * with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html, or
+ * http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.ambiguous_overloads
*
* Short summary: the rel_ops operators should be avoided for the present.
*/
Index: testsuite/27_io/ios_base/cons/assign_neg.cc
===================================================================
--- testsuite/27_io/ios_base/cons/assign_neg.cc (revision 142305)
+++ testsuite/27_io/ios_base/cons/assign_neg.cc (working copy)
@@ -43,5 +43,5 @@
}
// { dg-error "synthesized" "" { target *-*-* } 42 }
// { dg-error "within this context" "" { target *-*-* } 35 }
-// { dg-error "is private" "" { target *-*-* } 786 }
+// { dg-error "is private" "" { target *-*-* } 785 }
// { dg-error "operator=" "" { target *-*-* } 0 }
Index: testsuite/27_io/ios_base/cons/copy_neg.cc
===================================================================
--- testsuite/27_io/ios_base/cons/copy_neg.cc (revision 142305)
+++ testsuite/27_io/ios_base/cons/copy_neg.cc (working copy)
@@ -43,5 +43,5 @@
}
// { dg-error "within this context" "" { target *-*-* } 36 }
// { dg-error "synthesized" "" { target *-*-* } 42 }
-// { dg-error "is private" "" { target *-*-* } 783 }
+// { dg-error "is private" "" { target *-*-* } 782 }
// { dg-error "copy constructor" "" { target *-*-* } 0 }
2008-12-01 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/38080
* include/std/iostream: Correct URL.
* include/std/streambuf: Same.
* include/std/bitset: Same.
* include/std/iosfwd: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/bits/basic_ios.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_relops.h: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Ditto.
Index: include/std/iostream
===================================================================
--- include/std/iostream (revision 142343)
+++ include/std/iostream (working copy)
@@ -1,6 +1,6 @@
// Standard iostream objects -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005
+// Copyright (C) 1997, 1998, 1999, 2001, 2002, 2005, 2008
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -52,8 +52,8 @@
*
* The <iostream> header declares the eight <em>standard stream
* objects</em>. For other declarations, see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10 and the
- * @link s27_2_iosfwd I/O forward declarations @endlink
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html
+ * and the @link s27_2_iosfwd I/O forward declarations @endlink
*
* They are required by default to cooperate with the global C library's
* @c FILE streams, and to be available during program startup and
Index: include/std/streambuf
===================================================================
--- include/std/streambuf (revision 142343)
+++ include/std/streambuf (working copy)
@@ -563,8 +563,8 @@
*
* Each derived class provides its own appropriate behavior. See
* the next-to-last paragraph of
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2 for
- * more on this function.
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
+ * for more on this function.
*
* @note Base class version does nothing, returns @c this.
*/
@@ -660,7 +660,7 @@
*
* A functioning input streambuf can be created by overriding only
* this function (no buffer area will be used). For an example, see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#6
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25.html
*
* @note Base class version does nothing, returns eof().
*/
Index: include/std/bitset
===================================================================
--- include/std/bitset (revision 142343)
+++ include/std/bitset (working copy)
@@ -634,7 +634,8 @@
* }
* @endcode
*
- * Also see http://gcc.gnu.org/onlinedocs/libstdc++/ext/sgiexts.html#ch23
+ * Also see:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch33s02.html
* for a description of extensions.
*
* Most of the actual code isn't contained in %bitset<> itself, but in the
Index: include/std/iosfwd
===================================================================
--- include/std/iosfwd (revision 142343)
+++ include/std/iosfwd (working copy)
@@ -125,7 +125,7 @@
* themselves (e.g., "class ostream;") is not valid ISO C++.
*
* For more specific declarations, see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#10
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch24.html
*
* @{
*/
Index: include/std/fstream
===================================================================
--- include/std/fstream (revision 142343)
+++ include/std/fstream (working copy)
@@ -325,7 +325,7 @@
* If no file has been opened, and both @a s and @a n are zero, then
* the stream becomes unbuffered. Otherwise, @c s is used as a
* buffer; see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
* for more.
*/
virtual __streambuf_type*
Index: include/std/istream
===================================================================
--- include/std/istream (revision 142343)
+++ include/std/istream (working copy)
@@ -630,10 +630,7 @@
* Objects of this class are created before all of the standard
* extractors are run. It is responsible for "exception-safe prefix and
* suffix operations," although only prefix actions are currently required
- * by the standard. Additional actions may be added by the
- * implementation, and we list them in
- * http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#5
- * under [27.6] notes.
+ * by the standard.
*/
template<typename _CharT, typename _Traits>
class basic_istream<_CharT, _Traits>::sentry
Index: include/std/ostream
===================================================================
--- include/std/ostream (revision 142343)
+++ include/std/ostream (working copy)
@@ -375,10 +375,7 @@
*
* Objects of this class are created before all of the standard
* inserters are run. It is responsible for "exception-safe prefix and
- * suffix operations." Additional actions may be added by the
- * implementation, and we list them in
- * http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/howto.html#5
- * under [27.6] notes.
+ * suffix operations."
*/
template <typename _CharT, typename _Traits>
class basic_ostream<_CharT, _Traits>::sentry
Index: include/std/sstream
===================================================================
--- include/std/sstream (revision 142343)
+++ include/std/sstream (working copy)
@@ -193,7 +193,7 @@
*
* If no buffer has already been created, and both @a s and @a n are
* non-zero, then @c s is used as a buffer; see
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch25s02.html
* for more.
*/
virtual __streambuf_type*
Index: include/bits/basic_ios.h
===================================================================
--- include/bits/basic_ios.h (revision 142343)
+++ include/bits/basic_ios.h (working copy)
@@ -398,7 +398,7 @@
* with this stream, calls that buffer's @c pubimbue(loc).
*
* Additional l10n notes are at
- * http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
*/
locale
imbue(const locale& __loc);
@@ -418,7 +418,7 @@
* @endcode
*
* Additional l10n notes are at
- * http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
*/
char
narrow(char_type __c, char __dfault) const
@@ -437,7 +437,7 @@
* @endcode
*
* Additional l10n notes are at
- * http://gcc.gnu.org/onlinedocs/libstdc++/22_locale/howto.html
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/localization.html
*/
char_type
widen(char __c) const
Index: include/bits/stl_map.h
===================================================================
--- include/bits/stl_map.h (revision 142343)
+++ include/bits/stl_map.h (working copy)
@@ -536,7 +536,7 @@
* cause no gains in efficiency.
*
* See
- * http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
* for more on "hinting".
*
* Insertion requires logarithmic time (if the hint is not taken).
Index: include/bits/stl_set.h
===================================================================
--- include/bits/stl_set.h (revision 142343)
+++ include/bits/stl_set.h (working copy)
@@ -432,9 +432,9 @@
* potentially improve the performance of the insertion process. A bad
* hint would cause no gains in efficiency.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
- * for more on "hinting".
- *
+ * For more on "hinting", see:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
+ *
* Insertion requires logarithmic time (if the hint is not taken).
*/
iterator
@@ -442,7 +442,8 @@
{ return _M_t._M_insert_unique_(__position, __x); }
/**
- * @brief A template function that attempts to insert a range of elements.
+ * @brief A template function that attempts to insert a range
+ * of elements.
* @param first Iterator pointing to the start of the range to be
* inserted.
* @param last Iterator pointing to the end of the range.
Index: include/bits/stl_multimap.h
===================================================================
--- include/bits/stl_multimap.h (revision 142343)
+++ include/bits/stl_multimap.h (working copy)
@@ -458,8 +458,8 @@
* improve the performance of the insertion process. A bad hint would
* cause no gains in efficiency.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
- * for more on "hinting".
+ * For more on "hinting," see:
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
*
* Insertion requires logarithmic time (if the hint is not taken).
*/
@@ -468,7 +468,8 @@
{ return _M_t._M_insert_equal_(__position, __x); }
/**
- * @brief A template function that attempts to insert a range of elements.
+ * @brief A template function that attempts to insert a range
+ * of elements.
* @param first Iterator pointing to the start of the range to be
* inserted.
* @param last Iterator pointing to the end of the range.
Index: include/bits/ios_base.h
===================================================================
--- include/bits/ios_base.h (revision 142343)
+++ include/bits/ios_base.h (working copy)
@@ -223,7 +223,7 @@
failure(const string& __str) throw();
// This declaration is not useless:
- // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118
+ // http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Vague-Linkage.html
virtual
~failure() throw();
@@ -376,8 +376,7 @@
/// Perform input and output in binary mode (as opposed to text mode).
/// This is probably not what you think it is; see
- /// http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#3 and
- /// http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#7 for more.
+ /// http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch27s02.html
static const openmode binary = _S_bin;
/// Open for input. Default for @c ifstream and fstream.
@@ -671,7 +670,7 @@
* The synchronization referred to is @e only that between the standard
* C facilities (e.g., stdout) and the standard C++ objects (e.g.,
* cout). User-declared streams are unaffected. See
- * http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#8 for more.
+ * http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch28s02.html
*/
static bool
sync_with_stdio(bool __sync = true);
Index: include/bits/stl_multiset.h
===================================================================
--- include/bits/stl_multiset.h (revision 142343)
+++ include/bits/stl_multiset.h (working copy)
@@ -420,7 +420,7 @@
* improve the performance of the insertion process. A bad hint would
* cause no gains in efficiency.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/23_containers/howto.html#4
+ * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt07ch17.html
* for more on "hinting".
*
* Insertion requires logarithmic time (if the hint is not taken).
Index: include/bits/char_traits.h
===================================================================
--- include/bits/char_traits.h (revision 142343)
+++ include/bits/char_traits.h (working copy)
@@ -87,7 +87,7 @@
* may not be specialized for fundamental types, but classes in
* namespace __gnu_cxx may be.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
+ * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html
* for advice on how to make use of this class for "unusual" character
* types. Also, check out include/ext/pod_char_traits.h.
*/
@@ -228,7 +228,7 @@
* __gnu_cxx::char_traits, it is possible to achieve a more
* appropriate definition by specializing __gnu_cxx::char_traits.
*
- * See http://gcc.gnu.org/onlinedocs/libstdc++/21_strings/howto.html#5
+ * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt05ch13s03.html
* for advice on how to make use of this class for "unusual" character
* types. Also, check out include/ext/pod_char_traits.h.
*/
Index: include/bits/stl_relops.h
===================================================================
--- include/bits/stl_relops.h (revision 142343)
+++ include/bits/stl_relops.h (working copy)
@@ -60,8 +60,8 @@
* Inclusion of this file has been removed from
* all of the other STL headers for safety reasons, except std_utility.h.
* For more information, see the thread of about twenty messages starting
- * with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html , or the
- * FAQ at http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_4 .
+ * with http://gcc.gnu.org/ml/libstdc++/2001-01/msg00223.html, or
+ * http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.ambiguous_overloads
*
* Short summary: the rel_ops operators should be avoided for the present.
*/
Index: testsuite/27_io/ios_base/cons/assign_neg.cc
===================================================================
--- testsuite/27_io/ios_base/cons/assign_neg.cc (revision 142343)
+++ testsuite/27_io/ios_base/cons/assign_neg.cc (working copy)
@@ -43,5 +43,5 @@
}
// { dg-error "synthesized" "" { target *-*-* } 42 }
// { dg-error "within this context" "" { target *-*-* } 35 }
-// { dg-error "is private" "" { target *-*-* } 794 }
+// { dg-error "is private" "" { target *-*-* } 793 }
// { dg-error "operator=" "" { target *-*-* } 0 }
Index: testsuite/27_io/ios_base/cons/copy_neg.cc
===================================================================
--- testsuite/27_io/ios_base/cons/copy_neg.cc (revision 142343)
+++ testsuite/27_io/ios_base/cons/copy_neg.cc (working copy)
@@ -43,5 +43,5 @@
}
// { dg-error "within this context" "" { target *-*-* } 36 }
// { dg-error "synthesized" "" { target *-*-* } 42 }
-// { dg-error "is private" "" { target *-*-* } 791 }
+// { dg-error "is private" "" { target *-*-* } 790 }
// { dg-error "copy constructor" "" { target *-*-* } 0 }