From: redi Date: Sun, 18 Dec 2011 01:06:15 +0000 (+0000) Subject: * doc/xml/manual/iterators.xml: Replace "sect1" with "section". X-Git-Tag: upstream/4.9.2~15433 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee23ac8bb1ca58403495b0db1c29853bd4eb32bc;p=platform%2Fupstream%2Flinaro-gcc.git * doc/xml/manual/iterators.xml: Replace "sect1" with "section". * doc/xml/manual/algorithms.xml: Likewise. * doc/html/manual/iterators.html: Likewise. * doc/html/manual/algorithms.html: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182453 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f050ad9..957d963 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2011-12-18 Jonathan Wakely + + * doc/xml/manual/iterators.xml: Replace "sect1" with "section". + * doc/xml/manual/algorithms.xml: Likewise. + * doc/html/manual/iterators.html: Likewise. + * doc/html/manual/algorithms.html: Likewise. + 2011-12-15 Paolo Carlini Jonathan Wakely diff --git a/libstdc++-v3/doc/html/manual/algorithms.html b/libstdc++-v3/doc/html/manual/algorithms.html index 0b8c4b3..14098b2 100644 --- a/libstdc++-v3/doc/html/manual/algorithms.html +++ b/libstdc++-v3/doc/html/manual/algorithms.html @@ -9,7 +9,7 @@ Algorithms

- The neatest accomplishment of the algorithms sect1 is that all the + The neatest accomplishment of the algorithms section is that all the work is done via iterators, not containers directly. This means two important things:

  1. @@ -31,13 +31,13 @@ N as a size in the examples is to keep things easy to read but probably won't be valid code. You can use wrappers such as those described in - the containers sect1 to keep + the containers section to keep real code readable.

    The single thing that trips people up the most is the definition of range used with iterators; the famous "past-the-end" rule that everybody loves to hate. The - iterators sect1 of this + iterators section of this document has a complete explanation of this simple rule that seems to cause so much confusion. Once you get range into your head (it's not that hard, diff --git a/libstdc++-v3/doc/html/manual/iterators.html b/libstdc++-v3/doc/html/manual/iterators.html index ecf98a1..31f3ec7 100644 --- a/libstdc++-v3/doc/html/manual/iterators.html +++ b/libstdc++-v3/doc/html/manual/iterators.html @@ -23,7 +23,7 @@ classes. that pointers are iterators, and that pointers can be used whenever an iterator would be. All those functions in the - Algorithms sect1 of the Standard will work just as well on plain + Algorithms section of the Standard will work just as well on plain arrays and their pointers.

    That doesn't mean that when you pass in a pointer, it gets diff --git a/libstdc++-v3/doc/xml/manual/algorithms.xml b/libstdc++-v3/doc/xml/manual/algorithms.xml index 831fe5f..94672ed 100644 --- a/libstdc++-v3/doc/xml/manual/algorithms.xml +++ b/libstdc++-v3/doc/xml/manual/algorithms.xml @@ -22,7 +22,7 @@ - The neatest accomplishment of the algorithms sect1 is that all the + The neatest accomplishment of the algorithms section is that all the work is done via iterators, not containers directly. This means two important things: @@ -53,14 +53,14 @@ N as a size in the examples is to keep things easy to read but probably won't be valid code. You can use wrappers such as those described in - the containers sect1 to keep + the containers section to keep real code readable. The single thing that trips people up the most is the definition of range used with iterators; the famous "past-the-end" rule that everybody loves to hate. The - iterators sect1 of this + iterators section of this document has a complete explanation of this simple rule that seems to cause so much confusion. Once you get range into your head (it's not that hard, diff --git a/libstdc++-v3/doc/xml/manual/iterators.xml b/libstdc++-v3/doc/xml/manual/iterators.xml index bcfa30c..11dc3ae 100644 --- a/libstdc++-v3/doc/xml/manual/iterators.xml +++ b/libstdc++-v3/doc/xml/manual/iterators.xml @@ -41,7 +41,7 @@ classes. that pointers are iterators, and that pointers can be used whenever an iterator would be. All those functions in the - Algorithms sect1 of the Standard will work just as well on plain + Algorithms section of the Standard will work just as well on plain arrays and their pointers.