mirror of
https://github.com/boostorg/algorithm.git
synced 2026-01-25 17:52:08 +00:00
Compare commits
32 Commits
sandbox-br
...
boost-1.43
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7838731cc5 | ||
|
|
d45bb3545e | ||
|
|
d735b9fa1e | ||
|
|
62ec675581 | ||
|
|
e7cd4da67b | ||
|
|
6076f5a18e | ||
|
|
60cd5a0500 | ||
|
|
c33dad924d | ||
|
|
2f2935f07e | ||
|
|
3cbaafc27f | ||
|
|
c067b348bf | ||
|
|
c33935fa1f | ||
|
|
98a8b08afb | ||
|
|
fc0f3dcffc | ||
|
|
822636418b | ||
|
|
352e16aade | ||
|
|
89c76ea1bb | ||
|
|
50b5726a6f | ||
|
|
d4b95734dd | ||
|
|
05af96f84c | ||
|
|
5bdbb2b308 | ||
|
|
1a02969303 | ||
|
|
6309379618 | ||
|
|
37581bac55 | ||
|
|
a71a4ed5b1 | ||
|
|
c509c3fbad | ||
|
|
d8683f2498 | ||
|
|
7c0101aa51 | ||
|
|
6f3e85528f | ||
|
|
8af639b7cf | ||
|
|
d9bc7e800b | ||
|
|
b4ed9beb90 |
@@ -25,7 +25,7 @@
|
||||
</para>
|
||||
<para>
|
||||
<emphasis role="bold">Definition:</emphasis> A string is a
|
||||
<ulink url="../../libs/range/doc/range.html">range</ulink> of characters accessible in sequential
|
||||
<ulink url="../../libs/range/index.html">range</ulink> of characters accessible in sequential
|
||||
ordered fashion. Character is any value type with "cheap" copying and assignment.
|
||||
</para>
|
||||
<para>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
The magic of <ulink url="../../libs/range/index.html">Boost.Range</ulink>
|
||||
provides a uniform way of handling different string types.
|
||||
If there is a need to pass a pair of iterators,
|
||||
<ulink url="../../libs/range/doc/utility_class.html"><code>boost::iterator_range</code></ulink>
|
||||
<ulink url="../../libs/range/doc/html/range/utilities/iterator_range.html"><code>boost::iterator_range</code></ulink>
|
||||
can be used to package iterators into a structure with a compatible interface.
|
||||
</para>
|
||||
</listitem>
|
||||
@@ -208,7 +208,7 @@
|
||||
</programlisting>
|
||||
<para>
|
||||
We have used <functionname>find_last()</functionname> to search the <code>text</code> for "ll".
|
||||
The result is given in the <ulink url="../../libs/range/doc/utility_class.html"><code>boost::iterator_range</code></ulink>.
|
||||
The result is given in the <ulink url="../../libs/range/doc/html/range/utilities/iterator_range.html"><code>boost::iterator_range</code></ulink>.
|
||||
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 @@
|
||||
<ulink url="../../libs/range/index.html">Boost.Range</ulink>.
|
||||
|
||||
The following lines transform the result. Notice that
|
||||
<ulink url="../../libs/range/doc/utility_class.html"><code>boost::iterator_range</code></ulink> has familiar
|
||||
<ulink url="../../libs/range/doc/html/range/utilities/iterator_range.html"><code>boost::iterator_range</code></ulink> has familiar
|
||||
<code>begin()</code> and <code>end()</code> 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.
|
||||
</para>
|
||||
@@ -264,7 +264,7 @@
|
||||
the find iterator allows us to iterate over the substrings matching the specified criteria.
|
||||
This facility is using the <link linkend="string_algo.finder_concept">Finder</link> to incrementally
|
||||
search the string.
|
||||
Dereferencing a find iterator yields an <ulink url="../../libs/range/doc/utility_class.html"><code>boost::iterator_range</code></ulink>
|
||||
Dereferencing a find iterator yields an <ulink url="../../libs/range/doc/html/range/utilities/iterator_range.html"><code>boost::iterator_range</code></ulink>
|
||||
object, that delimits the current match.
|
||||
</para>
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user