From 50703b8c97fa3ebebdeac73ffae87b0b2c2fdf27 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 30 Oct 2010 17:34:45 +0000 Subject: [PATCH] Merge documentation fixes to release. [SVN r66285] --- string/doc/usage.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/string/doc/usage.xml b/string/doc/usage.xml index 2dafad4..a30d366 100644 --- a/string/doc/usage.xml +++ b/string/doc/usage.xml @@ -57,7 +57,7 @@ The magic of Boost.Range provides a uniform way of handling different string types. If there is a need to pass a pair of iterators, - boost::iterator_range + boost::iterator_range can be used to package iterators into a structure with a compatible interface. @@ -208,7 +208,7 @@ We have used find_last() to search the text for "ll". - The result is given in the boost::iterator_range. + The result is given in the boost::iterator_range. This range delimits the part of the input which satisfies the find criteria. In our example it is the last occurrence of "ll". @@ -217,7 +217,7 @@ Boost.Range. The following lines transform the result. Notice that - boost::iterator_range has familiar + boost::iterator_range has familiar begin() and end() methods, so it can be used like any other STL container. Also it is convertible to bool therefore it is easy to use find algorithms for a simple containment checking. @@ -264,7 +264,7 @@ the find iterator allows us to iterate over the substrings matching the specified criteria. This facility is using the Finder to incrementally search the string. - Dereferencing a find iterator yields an boost::iterator_range + Dereferencing a find iterator yields an boost::iterator_range object, that delimits the current match.