diff --git a/string/doc/design.xml b/string/doc/design.xml index 980c722..e6db25d 100644 --- a/string/doc/design.xml +++ b/string/doc/design.xml @@ -25,7 +25,7 @@ Definition: A string is a - range of characters accessible in sequential + range of characters accessible in sequential ordered fashion. Character is any value type with "cheap" copying and assignment. diff --git a/string/doc/usage.xml b/string/doc/usage.xml index 528babe..39c4e1a 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.