|
Boost-Commit : |
From: drrngrvy_at_[hidden]
Date: 2007-06-22 19:51:14
Author: drrngrvy
Date: 2007-06-22 19:51:13 EDT (Fri, 22 Jun 2007)
New Revision: 7134
URL: http://svn.boost.org/trac/boost/changeset/7134
Log:
A couple of h3->h4 changes
Text files modified:
sandbox/doc_test/libs/range/doc/boost_range.qbk | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
Modified: sandbox/doc_test/libs/range/doc/boost_range.qbk
==============================================================================
--- sandbox/doc_test/libs/range/doc/boost_range.qbk (original)
+++ sandbox/doc_test/libs/range/doc/boost_range.qbk 2007-06-22 19:51:13 EDT (Fri, 22 Jun 2007)
@@ -148,7 +148,7 @@
`X` A type that is a model of __single_pass_range__.
`a` Object of type X.
-[h3 Description]
+[h4 Description]
A range `X` where `boost::range_iterator<X>::type` is a model of __single_pass_iterator__.
@@ -157,22 +157,18 @@
[table
[]
[[Value type ] [`boost::range_value<X>::type` ] [The type of the object stored in a Range.]]
-
[[Iterator type ] [`boost::range_iterator<X>::type` ] [The type of iterator used to iterate through a Range's elements. The iterator's value type is expected to be the Range's value type. A conversion from the iterator type to the `const` iterator type must exist.]]
-
[[Const iterator type] [`boost::range_const_iterator<X>::type`] [A type of iterator that may be used to examine, but not to modify, a Range's elements.]]
]
-[h3 Valid expressions]
+[h4 Valid expressions]
The following expressions must be valid.
[table
[[Name ] [Expression ] [Return type ]]
[[Beginning of range] [`boost::begin(a)`] [`boost::range_iterator<X>::type` if `a` is mutable,[br] `boost::range_const_iterator<X>::type` otherwise]]
-
[[End of range ] [`boost::end(a)` ] [`boost::range_iterator<X>::type` if `a` is mutable,[br] `boost::range_const_iterator<X>::type` otherwise]]
-
[[Is range empty? ] [boost::empty(a) ] [Convertible to bool]]
]
@@ -181,10 +177,8 @@
[table
[[Expression ] [Semantics ] [Postcondition]]
[[`boost::begin(a)`] [Returns an iterator pointing to the first element in the Range. ] [`boost::begin(a)` is either dereferenceable or past-the-end. It is past-the-end if and only if `boost::size(a) == 0`.]]
-
[[`boost::end(a)` ] [Returns an iterator pointing one past the last element in the Range. ] [`boost::end(a)` is past-the-end.]]
-
- [[`boost::empty(a)`] [Equivalent to `boost::begin(a) == boost::end(a)`. (But possibly faster.)] [-]]
+ [[`boost::empty(a)`] [Equivalent to `boost::begin(a) == boost::end(a)`. (But possibly faster.)] [- ]]
]
[h4 Complexity guarantees]
@@ -231,7 +225,6 @@
[table
[]
[[Distance type] [`boost::range_difference<X>::type`] [A signed integral type used to represent the distance between two of the Range's iterators. This type must be the same as the iterator's distance type.]]
-
[[Size type ] [`boost::range_size<X>::type` ] [An unsigned integral type that can represent any nonnegative value of the Range's distance type.]]
]
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk