Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/string_algo/reference.html @ 25

Last change on this file since 25 was 12, checked in by landauf, 17 years ago

added boost

File size: 111.1 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>Reference</title>
5<link rel="stylesheet" href="../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries">
8<link rel="up" href="../string_algo.html" title="Chapter 11. Boost String Algorithms Library">
9<link rel="prev" href="concept.html" title="Concepts">
10<link rel="next" href="../to_lower_copy.html" title="Function to_lower_copy">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%">
14<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../../boost.png"></td>
15<td align="center"><a href="../../../index.htm">Home</a></td>
16<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="../../../people/people.htm">People</a></td>
18<td align="center"><a href="../../../more/faq.htm">FAQ</a></td>
19<td align="center"><a href="../../../more/index.htm">More</a></td>
20</table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="concept.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../to_lower_copy.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="section" lang="en">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="string_algo.reference"></a>Reference</h3></div></div></div>
28<div class="toc"><dl>
29<dt><span class="section"><a href="reference.html#id2352615">Header &lt;boost/algorithm/string/case_conv.hpp&gt;</a></span></dt>
30<dt><span class="section"><a href="reference.html#id2336200">Header &lt;boost/algorithm/string/classification.hpp&gt;</a></span></dt>
31<dt><span class="section"><a href="reference.html#id2558715">Header &lt;boost/algorithm/string/compare.hpp&gt;</a></span></dt>
32<dt><span class="section"><a href="reference.html#id2353460">Header &lt;boost/algorithm/string/concept.hpp&gt;</a></span></dt>
33<dt><span class="section"><a href="reference.html#id2384198">Header &lt;boost/algorithm/string/constants.hpp&gt;</a></span></dt>
34<dt><span class="section"><a href="reference.html#id2571451">Header &lt;boost/algorithm/string/erase.hpp&gt;</a></span></dt>
35<dt><span class="section"><a href="reference.html#id2487443">Header &lt;boost/algorithm/string/find.hpp&gt;</a></span></dt>
36<dt><span class="section"><a href="reference.html#id2441187">Header &lt;boost/algorithm/string/find_format.hpp&gt;</a></span></dt>
37<dt><span class="section"><a href="reference.html#id2382464">Header &lt;boost/algorithm/string/find_iterator.hpp&gt;</a></span></dt>
38<dt><span class="section"><a href="reference.html#id2447201">Header &lt;boost/algorithm/string/finder.hpp&gt;</a></span></dt>
39<dt><span class="section"><a href="reference.html#id2356089">Header &lt;boost/algorithm/string/formatter.hpp&gt;</a></span></dt>
40<dt><span class="section"><a href="reference.html#id2589054">Header &lt;boost/algorithm/string/predicate.hpp&gt;</a></span></dt>
41<dt><span class="section"><a href="reference.html#id2556226">Header &lt;boost/algorithm/string/regex.hpp&gt;</a></span></dt>
42<dt><span class="section"><a href="reference.html#id2382044">Header &lt;boost/algorithm/string/regex_find_format.hpp&gt;</a></span></dt>
43<dt><span class="section"><a href="reference.html#id2553153">Header &lt;boost/algorithm/string/replace.hpp&gt;</a></span></dt>
44<dt><span class="section"><a href="reference.html#id2372677">Header &lt;boost/algorithm/string/sequence_traits.hpp&gt;</a></span></dt>
45<dt><span class="section"><a href="reference.html#id2541245">Header &lt;boost/algorithm/string/split.hpp&gt;</a></span></dt>
46<dt><span class="section"><a href="reference.html#id2552168">Header &lt;boost/algorithm/string/std_containers_traits.hpp&gt;</a></span></dt>
47<dt><span class="section"><a href="reference.html#id2552179">Header &lt;boost/algorithm/string.hpp&gt;</a></span></dt>
48<dt><span class="section"><a href="reference.html#id2573542">Header &lt;boost/algorithm/string_regex.hpp&gt;</a></span></dt>
49<dt><span class="section"><a href="reference.html#id2573553">Header &lt;boost/algorithm/string/trim.hpp&gt;</a></span></dt>
50</dl></div>
51<div class="section" lang="en">
52<div class="titlepage"><div><div><h4 class="title">
53<a name="id2352615"></a>Header &lt;<a href="../../../boost/algorithm/string/case_conv.hpp" target="_top">boost/algorithm/string/case_conv.hpp</a>&gt;</h4></div></div></div>
54<p>Defines sequence case-conversion algorithms. Algorithms convert each element in the input sequence to the desired case using provided locales.</p>
55<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
56  <span class="bold"><strong>namespace</strong></span> algorithm {
57    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
58      <span class="type">OutputIteratorT</span> 
59      <a href="../to_lower_copy.html" title="Function to_lower_copy">to_lower_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
60                    <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
61    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
62      <span class="type">SequenceT</span> <a href="../to_lower_copy.html" title="Function to_lower_copy">to_lower_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
63                              <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
64    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> WritableRangeT&gt; 
65      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../to_lower.html" title="Function template to_lower">to_lower</a>(WritableRangeT &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
66    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
67      <span class="type">OutputIteratorT</span> 
68      <a href="../to_upper_copy.html" title="Function to_upper_copy">to_upper_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
69                    <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
70    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
71      <span class="type">SequenceT</span> <a href="../to_upper_copy.html" title="Function to_upper_copy">to_upper_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
72                              <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
73    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> WritableRangeT&gt; 
74      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../to_upper.html" title="Function template to_upper">to_upper</a>(WritableRangeT &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
75  }
76}</pre>
77</div>
78<div class="section" lang="en">
79<div class="titlepage"><div><div><h4 class="title">
80<a name="id2336200"></a>Header &lt;<a href="../../../boost/algorithm/string/classification.hpp" target="_top">boost/algorithm/string/classification.hpp</a>&gt;</h4></div></div></div>
81<p>Classification predicates are included in the library to give some more convenience when using algorithms like <code class="computeroutput">trim()</code>  and <code class="computeroutput">all()</code> . They wrap functionality of STL classification functions ( e.g. <code class="computeroutput">std::isspace()</code>  ) into generic functors.</p>
82<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
83  <span class="bold"><strong>namespace</strong></span> algorithm {
84    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_classified.html" title="Function is_classified">is_classified</a>(std::ctype_base::mask,
85                              <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
86    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_space.html" title="Function is_space">is_space</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
87    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_alnum.html" title="Function is_alnum">is_alnum</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
88    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_alpha.html" title="Function is_alpha">is_alpha</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
89    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_cntrl.html" title="Function is_cntrl">is_cntrl</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
90    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_digit.html" title="Function is_digit">is_digit</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
91    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_graph.html" title="Function is_graph">is_graph</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
92    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_lower.html" title="Function is_lower">is_lower</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
93    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_print.html" title="Function is_print">is_print</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
94    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_punct.html" title="Function is_punct">is_punct</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
95    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_upper.html" title="Function is_upper">is_upper</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
96    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_xdigit.html" title="Function is_xdigit">is_xdigit</a>(<span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
97    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_any_of.html" title="Function template is_any_of">is_any_of</a>(<span class="bold"><strong>const</strong></span> RangeT &amp;);
98    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> CharT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../is_from_range.html" title="Function template is_from_range">is_from_range</a>(CharT, CharT);
99    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Pred1T, <span class="bold"><strong>typename</strong></span> Pred2T&gt; 
100      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2568583.html" title="Function template operator&amp;&amp;"><span class="bold"><strong>operator</strong></span>&amp;&amp;</a>(<span class="bold"><strong>const</strong></span> predicate_facade&lt; Pred1T &gt; &amp;,
101                             <span class="bold"><strong>const</strong></span> predicate_facade&lt; Pred2T &gt; &amp;);
102    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Pred1T, <span class="bold"><strong>typename</strong></span> Pred2T&gt; 
103      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2571496.html" title="Function template operator||"><span class="bold"><strong>operator</strong></span>||</a>(<span class="bold"><strong>const</strong></span> predicate_facade&lt; Pred1T &gt; &amp;,
104                             <span class="bold"><strong>const</strong></span> predicate_facade&lt; Pred2T &gt; &amp;);
105    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> PredT&gt; 
106      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2374912.html" title="Function template operator!"><span class="bold"><strong>operator</strong></span>!</a>(<span class="bold"><strong>const</strong></span> predicate_facade&lt; PredT &gt; &amp;);
107  }
108}</pre>
109</div>
110<div class="section" lang="en">
111<div class="titlepage"><div><div><h4 class="title">
112<a name="id2558715"></a>Header &lt;<a href="../../../boost/algorithm/string/compare.hpp" target="_top">boost/algorithm/string/compare.hpp</a>&gt;</h4></div></div></div>
113<p>Defines element comparison predicates. Many algorithms in this library can take an additional argument with a predicate used to compare elements. This makes it possible, for instance, to have case insensitive versions of the algorithms.</p>
114<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
115  <span class="bold"><strong>namespace</strong></span> algorithm {
116    <span class="bold"><strong>struct</strong></span> <a href="../is_equal.html" title="Struct is_equal">is_equal</a>;
117    <span class="bold"><strong>struct</strong></span> <a href="../is_iequal.html" title="Struct is_iequal">is_iequal</a>;
118  }
119}</pre>
120</div>
121<div class="section" lang="en">
122<div class="titlepage"><div><div><h4 class="title">
123<a name="id2353460"></a>Header &lt;<a href="../../../boost/algorithm/string/concept.hpp" target="_top">boost/algorithm/string/concept.hpp</a>&gt;</h4></div></div></div>
124<p>Defines concepts used in string_algo library</p>
125<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
126  <span class="bold"><strong>namespace</strong></span> algorithm {
127    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> IteratorT&gt; <span class="bold"><strong>struct</strong></span> <a href="../FinderConcept.html" title="Struct template FinderConcept">FinderConcept</a>;
128    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> FormatterT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> IteratorT&gt; 
129      <span class="bold"><strong>struct</strong></span> <a href="../FormatterConcept.html" title="Struct template FormatterConcept">FormatterConcept</a>;
130  }
131}</pre>
132</div>
133<div class="section" lang="en">
134<div class="titlepage"><div><div><h4 class="title">
135<a name="id2384198"></a>Header &lt;<a href="../../../boost/algorithm/string/constants.hpp" target="_top">boost/algorithm/string/constants.hpp</a>&gt;</h4></div></div></div>
136<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
137  <span class="bold"><strong>namespace</strong></span> algorithm {
138    <span class="bold"><strong>enum</strong></span> <a href="../id2567673.html" title="Type token_compress_mode_type">token_compress_mode_type</a>;
139  }
140}</pre>
141</div>
142<div class="section" lang="en">
143<div class="titlepage"><div><div><h4 class="title">
144<a name="id2571451"></a>Header &lt;<a href="../../../boost/algorithm/string/erase.hpp" target="_top">boost/algorithm/string/erase.hpp</a>&gt;</h4></div></div></div>
145<p>Defines various erase algorithms. Each algorithm removes part(s) of the input according to a searching criteria.</p>
146<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
147  <span class="bold"><strong>namespace</strong></span> algorithm {
148    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
149      <span class="type">OutputIteratorT</span> 
150      <a href="../erase_range_copy.html" title="Function erase_range_copy">erase_range_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
151                       <span class="bold"><strong>const</strong></span> iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_const_iterator&lt; RangeT &gt;::type &gt; &amp;);
152    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
153      <span class="type">SequenceT</span> <a href="../erase_range_copy.html" title="Function erase_range_copy">erase_range_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
154                                 <span class="bold"><strong>const</strong></span> iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_const_iterator&lt; SequenceT &gt;::type &gt; &amp;);
155    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
156      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_range.html" title="Function template erase_range">erase_range</a>(SequenceT &amp;,
157                       <span class="bold"><strong>const</strong></span> iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_iterator&lt; SequenceT &gt;::type &gt; &amp;);
158    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
159      <span class="type">OutputIteratorT</span> 
160      <a href="../erase_first_copy.html" title="Function erase_first_copy">erase_first_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
161    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
162      <span class="type">SequenceT</span> <a href="../erase_first_copy.html" title="Function erase_first_copy">erase_first_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;);
163    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
164      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_first.html" title="Function template erase_first">erase_first</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;);
165    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
166      <span class="type">OutputIteratorT</span> 
167      <a href="../ierase_first_copy.html" title="Function ierase_first_copy">ierase_first_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
168                        <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
169    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
170      <span class="type">SequenceT</span> <a href="../ierase_first_copy.html" title="Function ierase_first_copy">ierase_first_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
171                                  <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
172    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
173      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ierase_first.html" title="Function template ierase_first">ierase_first</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
174                        <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
175    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
176      <span class="type">OutputIteratorT</span> 
177      <a href="../erase_last_copy.html" title="Function erase_last_copy">erase_last_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
178    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
179      <span class="type">SequenceT</span> <a href="../erase_last_copy.html" title="Function erase_last_copy">erase_last_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;);
180    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
181      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_last.html" title="Function template erase_last">erase_last</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;);
182    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
183      <span class="type">OutputIteratorT</span> 
184      <a href="../ierase_last_copy.html" title="Function ierase_last_copy">ierase_last_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
185                       <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
186    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
187      <span class="type">SequenceT</span> <a href="../ierase_last_copy.html" title="Function ierase_last_copy">ierase_last_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
188                                 <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
189    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
190      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ierase_last.html" title="Function template ierase_last">ierase_last</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
191                       <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
192    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
193      <span class="type">OutputIteratorT</span> 
194      <a href="../erase_nth_copy.html" title="Function erase_nth_copy">erase_nth_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
195                     <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
196    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
197      <span class="type">SequenceT</span> <a href="../erase_nth_copy.html" title="Function erase_nth_copy">erase_nth_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
198                               <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
199    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
200      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_nth.html" title="Function template erase_nth">erase_nth</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
201    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
202      <span class="type">OutputIteratorT</span> 
203      <a href="../ierase_nth_copy.html" title="Function ierase_nth_copy">ierase_nth_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
204                      <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
205    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
206      <span class="type">SequenceT</span> <a href="../ierase_nth_copy.html" title="Function ierase_nth_copy">ierase_nth_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
207                                <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
208                                <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
209    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
210      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ierase_nth.html" title="Function template ierase_nth">ierase_nth</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
211                      <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
212    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
213      <span class="type">OutputIteratorT</span> 
214      <a href="../erase_all_copy.html" title="Function erase_all_copy">erase_all_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
215    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
216      <span class="type">SequenceT</span> <a href="../erase_all_copy.html" title="Function erase_all_copy">erase_all_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;);
217    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
218      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_all.html" title="Function template erase_all">erase_all</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;);
219    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
220      <span class="type">OutputIteratorT</span> 
221      <a href="../ierase_all_copy.html" title="Function ierase_all_copy">ierase_all_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
222                      <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
223    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
224      <span class="type">SequenceT</span> <a href="../ierase_all_copy.html" title="Function ierase_all_copy">ierase_all_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
225                                <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
226    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
227      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ierase_all.html" title="Function template ierase_all">ierase_all</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
228                      <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
229    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
230      <span class="type">OutputIteratorT</span> 
231      <a href="../erase_head_copy.html" title="Function erase_head_copy">erase_head_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
232    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
233      <span class="type">SequenceT</span> <a href="../erase_head_copy.html" title="Function erase_head_copy">erase_head_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
234    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_head.html" title="Function template erase_head">erase_head</a>(SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
235    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
236      <span class="type">OutputIteratorT</span> 
237      <a href="../erase_tail_copy.html" title="Function erase_tail_copy">erase_tail_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
238    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
239      <span class="type">SequenceT</span> <a href="../erase_tail_copy.html" title="Function erase_tail_copy">erase_tail_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
240    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_tail.html" title="Function template erase_tail">erase_tail</a>(SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
241  }
242}</pre>
243</div>
244<div class="section" lang="en">
245<div class="titlepage"><div><div><h4 class="title">
246<a name="id2487443"></a>Header &lt;<a href="../../../boost/algorithm/string/find.hpp" target="_top">boost/algorithm/string/find.hpp</a>&gt;</h4></div></div></div>
247<p>Defines a set of find algorithms. The algorithms are searching for a substring of the input. The result is given as an <code class="computeroutput">iterator_range</code>  delimiting the substring.</p>
248<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
249  <span class="bold"><strong>namespace</strong></span> algorithm {
250    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT&gt; 
251      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
252      <a href="../find.html" title="Function template find">find</a>(RangeT &amp;, FinderT);
253    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
254      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; Range1T &gt;::type &gt;</span> 
255      <a href="../find_first.html" title="Function template find_first">find_first</a>(Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
256    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
257      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; Range1T &gt;::type &gt;</span> 
258      <a href="../ifind_first.html" title="Function template ifind_first">ifind_first</a>(Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
259                  <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
260    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
261      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; Range1T &gt;::type &gt;</span> 
262      <a href="../find_last.html" title="Function template find_last">find_last</a>(Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
263    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
264      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; Range1T &gt;::type &gt;</span> 
265      <a href="../ifind_last.html" title="Function template ifind_last">ifind_last</a>(Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
266                 <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
267    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
268      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; Range1T &gt;::type &gt;</span> 
269      <a href="../find_nth.html" title="Function template find_nth">find_nth</a>(Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
270    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
271      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; Range1T &gt;::type &gt;</span> 
272      <a href="../ifind_nth.html" title="Function template ifind_nth">ifind_nth</a>(Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
273                <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
274    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT&gt; 
275      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
276      <a href="../find_head.html" title="Function template find_head">find_head</a>(RangeT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
277    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT&gt; 
278      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
279      <a href="../find_tail.html" title="Function template find_tail">find_tail</a>(RangeT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
280    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
281      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
282      <a href="../find_token.html" title="Function template find_token">find_token</a>(RangeT &amp;, PredicateT,
283                 token_compress_mode_type = token_compress_off);
284  }
285}</pre>
286</div>
287<div class="section" lang="en">
288<div class="titlepage"><div><div><h4 class="title">
289<a name="id2441187"></a>Header &lt;<a href="../../../boost/algorithm/string/find_format.hpp" target="_top">boost/algorithm/string/find_format.hpp</a>&gt;</h4></div></div></div>
290<p>Defines generic replace algorithms. Each algorithm replaces part(s) of the input. The part to be replaced is looked up using a Finder object. Result of finding is then used by a Formatter object to generate the replacement.</p>
291<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
292  <span class="bold"><strong>namespace</strong></span> algorithm {
293    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT,
294             <span class="bold"><strong>typename</strong></span> FormatterT&gt; 
295      <span class="type">OutputIteratorT</span> 
296      <a href="../find_format_copy.html" title="Function find_format_copy">find_format_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, FinderT, FormatterT);
297    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT&gt; 
298      <span class="type">SequenceT</span> <a href="../find_format_copy.html" title="Function find_format_copy">find_format_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, FinderT, FormatterT);
299    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT&gt; 
300      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../find_format.html" title="Function template find_format">find_format</a>(SequenceT &amp;, FinderT, FormatterT);
301    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT,
302             <span class="bold"><strong>typename</strong></span> FormatterT&gt; 
303      <span class="type">OutputIteratorT</span> 
304      <a href="../find_format_all_copy.html" title="Function find_format_all_copy">find_format_all_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, FinderT,
305                           FormatterT);
306    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT&gt; 
307      <span class="type">SequenceT</span> <a href="../find_format_all_copy.html" title="Function find_format_all_copy">find_format_all_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, FinderT, FormatterT);
308    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT&gt; 
309      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../find_format_all.html" title="Function template find_format_all">find_format_all</a>(SequenceT &amp;, FinderT, FormatterT);
310    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
311      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2559243.html" title="Function template regex_finder">regex_finder</a>(<span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
312                               match_flag_type = match_default);
313    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> TraitsT, <span class="bold"><strong>typename</strong></span> AllocT&gt; 
314      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2586835.html" title="Function template regex_formatter">regex_formatter</a>(<span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, TraitsT, AllocT &gt; &amp;,
315                                  match_flag_type = format_default);
316  }
317}</pre>
318</div>
319<div class="section" lang="en">
320<div class="titlepage"><div><div><h4 class="title">
321<a name="id2382464"></a>Header &lt;<a href="../../../boost/algorithm/string/find_iterator.hpp" target="_top">boost/algorithm/string/find_iterator.hpp</a>&gt;</h4></div></div></div>
322<p>Defines find iterator classes. Find iterator repeatly applies a Finder to the specified input string to search for matches. Dereferencing the iterator yields the current match or a range between the last and the current match depending on the iterator used.</p>
323<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
324  <span class="bold"><strong>namespace</strong></span> algorithm {
325    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> IteratorT&gt; <span class="bold"><strong>class</strong></span> <a href="../find_iterator.html" title="Class template find_iterator">find_iterator</a>;
326    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> IteratorT&gt; <span class="bold"><strong>class</strong></span> <a href="../split_iterator.html" title="Class template split_iterator">split_iterator</a>;
327    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT&gt; 
328      <span class="type"><a href="../find_iterator.html" title="Class template find_iterator">find_iterator</a>&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
329      <a href="../make_find_iterator.html" title="Function template make_find_iterator">make_find_iterator</a>(RangeT &amp;, FinderT);
330    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT&gt; 
331      <span class="type"><a href="../split_iterator.html" title="Class template split_iterator">split_iterator</a>&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
332      <a href="../make_split_iterator.html" title="Function template make_split_iterator">make_split_iterator</a>(RangeT &amp;, FinderT);
333  }
334}</pre>
335</div>
336<div class="section" lang="en">
337<div class="titlepage"><div><div><h4 class="title">
338<a name="id2447201"></a>Header &lt;<a href="../../../boost/algorithm/string/finder.hpp" target="_top">boost/algorithm/string/finder.hpp</a>&gt;</h4></div></div></div>
339<p>Defines Finder generators. Finder object is a functor which is able to find a substring matching a specific criteria in the input. Finders are used as a pluggable components for replace, find and split facilities. This header contains generator functions for finders provided in this library.</p>
340<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
341  <span class="bold"><strong>namespace</strong></span> algorithm {
342    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ContainerT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../first_finder.html" title="Function first_finder">first_finder</a>(<span class="bold"><strong>const</strong></span> ContainerT &amp;);
343    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ContainerT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
344      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../first_finder.html" title="Function first_finder">first_finder</a>(<span class="bold"><strong>const</strong></span> ContainerT &amp;, PredicateT);
345    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ContainerT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../last_finder.html" title="Function last_finder">last_finder</a>(<span class="bold"><strong>const</strong></span> ContainerT &amp;);
346    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ContainerT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
347      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../last_finder.html" title="Function last_finder">last_finder</a>(<span class="bold"><strong>const</strong></span> ContainerT &amp;, PredicateT);
348    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ContainerT&gt; 
349      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../nth_finder.html" title="Function nth_finder">nth_finder</a>(<span class="bold"><strong>const</strong></span> ContainerT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
350    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ContainerT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
351      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../nth_finder.html" title="Function nth_finder">nth_finder</a>(<span class="bold"><strong>const</strong></span> ContainerT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, PredicateT);
352    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../head_finder.html" title="Function head_finder">head_finder</a>(<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
353    <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../tail_finder.html" title="Function tail_finder">tail_finder</a>(<span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>);
354    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> PredicateT&gt; 
355      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../token_finder.html" title="Function template token_finder">token_finder</a>(PredicateT,
356                               token_compress_mode_type = token_compress_off);
357    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ForwardIteratorT&gt; 
358      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../range_finder.html" title="Function range_finder">range_finder</a>(ForwardIteratorT, ForwardIteratorT);
359    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> ForwardIteratorT&gt; 
360      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../range_finder.html" title="Function range_finder">range_finder</a>(iterator_range&lt; ForwardIteratorT &gt;);
361  }
362}</pre>
363</div>
364<div class="section" lang="en">
365<div class="titlepage"><div><div><h4 class="title">
366<a name="id2356089"></a>Header &lt;<a href="../../../boost/algorithm/string/formatter.hpp" target="_top">boost/algorithm/string/formatter.hpp</a>&gt;</h4></div></div></div>
367<p>Defines Formatter generators. Formatter is a functor which formats a string according to given parameters. A Formatter works in conjunction with a Finder. A Finder can provide additional information for a specific Formatter. An example of such a cooperation is regex_finder and regex_formatter.</p>
368<p>Formatters are used as pluggable components for replace facilities. This header contains generator functions for the Formatters provided in this library.</p>
369<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
370  <span class="bold"><strong>namespace</strong></span> algorithm {
371    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../const_formatter.html" title="Function template const_formatter">const_formatter</a>(<span class="bold"><strong>const</strong></span> RangeT &amp;);
372    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../identity_formatter.html" title="Function template identity_formatter">identity_formatter</a>();
373    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT&gt; <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../empty_formatter.html" title="Function template empty_formatter">empty_formatter</a>(<span class="bold"><strong>const</strong></span> RangeT &amp;);
374  }
375}</pre>
376</div>
377<div class="section" lang="en">
378<div class="titlepage"><div><div><h4 class="title">
379<a name="id2589054"></a>Header &lt;<a href="../../../boost/algorithm/string/predicate.hpp" target="_top">boost/algorithm/string/predicate.hpp</a>&gt;</h4></div></div></div>
380<p>Defines string-related predicates. The predicates determine whether a substring is contained in the input string under various conditions: a string starts with the substring, ends with the substring, simply contains the substring or if both strings are equal. Additionaly the algorithm <code class="computeroutput">all()</code>  checks all elements of a container to satisfy a condition.</p>
381<p>All predicates provide the strong exception guarantee.</p>
382<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
383  <span class="bold"><strong>namespace</strong></span> algorithm {
384    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
385      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../starts_with.html" title="Function starts_with">starts_with</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;, PredicateT);
386    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
387      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../starts_with.html" title="Function starts_with">starts_with</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
388    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
389      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../istarts_with.html" title="Function template istarts_with">istarts_with</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
390                        <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
391    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
392      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../ends_with.html" title="Function ends_with">ends_with</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;, PredicateT);
393    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
394      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../ends_with.html" title="Function ends_with">ends_with</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
395    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
396      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../iends_with.html" title="Function template iends_with">iends_with</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
397                      <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
398    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
399      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../contains.html" title="Function contains">contains</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;, PredicateT);
400    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
401      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../contains.html" title="Function contains">contains</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
402    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
403      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../icontains.html" title="Function template icontains">icontains</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
404                     <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
405    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
406      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../equals.html" title="Function equals">equals</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;, PredicateT);
407    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
408      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../equals.html" title="Function equals">equals</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
409    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
410      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../iequals.html" title="Function template iequals">iequals</a>(<span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
411                   <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
412    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
413      <span class="type"><span class="bold"><strong>bool</strong></span></span> <a href="../all.html" title="Function template all">all</a>(<span class="bold"><strong>const</strong></span> RangeT &amp;, PredicateT);
414  }
415}</pre>
416</div>
417<div class="section" lang="en">
418<div class="titlepage"><div><div><h4 class="title">
419<a name="id2556226"></a>Header &lt;<a href="../../../boost/algorithm/string/regex.hpp" target="_top">boost/algorithm/string/regex.hpp</a>&gt;</h4></div></div></div>
420<p>Defines regex variants of the algorithms.</p>
421<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
422  <span class="bold"><strong>namespace</strong></span> algorithm {
423    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
424      <span class="type">iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_result_iterator&lt; RangeT &gt;::type &gt;</span> 
425      <a href="../find_regex.html" title="Function template find_regex">find_regex</a>(RangeT &amp;, <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
426                 match_flag_type = match_default);
427    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT,
428             <span class="bold"><strong>typename</strong></span> RegexTraitsT, <span class="bold"><strong>typename</strong></span> FormatStringTraitsT,
429             <span class="bold"><strong>typename</strong></span> FormatStringAllocatorT&gt; 
430      <span class="type">OutputIteratorT</span> 
431      <a href="../replace_regex_copy.html" title="Function replace_regex_copy">replace_regex_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
432                         <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
433                         <span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, FormatStringTraitsT, FormatStringAllocatorT &gt; &amp;,
434                         match_flag_type = match_default|format_default);
435    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT,
436             <span class="bold"><strong>typename</strong></span> FormatStringTraitsT, <span class="bold"><strong>typename</strong></span> FormatStringAllocatorT&gt; 
437      <span class="type">SequenceT</span> <a href="../replace_regex_copy.html" title="Function replace_regex_copy">replace_regex_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
438                                   <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
439                                   <span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, FormatStringTraitsT, FormatStringAllocatorT &gt; &amp;,
440                                   match_flag_type = match_default|format_default);
441    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT,
442             <span class="bold"><strong>typename</strong></span> FormatStringTraitsT, <span class="bold"><strong>typename</strong></span> FormatStringAllocatorT&gt; 
443      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_regex.html" title="Function template replace_regex">replace_regex</a>(SequenceT &amp;,
444                         <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
445                         <span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, FormatStringTraitsT, FormatStringAllocatorT &gt; &amp;,
446                         match_flag_type = match_default|format_default);
447    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT,
448             <span class="bold"><strong>typename</strong></span> RegexTraitsT, <span class="bold"><strong>typename</strong></span> FormatStringTraitsT,
449             <span class="bold"><strong>typename</strong></span> FormatStringAllocatorT&gt; 
450      <span class="type">OutputIteratorT</span> 
451      <a href="../replace_all_regex_copy.html" title="Function replace_all_regex_copy">replace_all_regex_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
452                             <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
453                             <span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, FormatStringTraitsT, FormatStringAllocatorT &gt; &amp;,
454                             match_flag_type = match_default|format_default);
455    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT,
456             <span class="bold"><strong>typename</strong></span> FormatStringTraitsT, <span class="bold"><strong>typename</strong></span> FormatStringAllocatorT&gt; 
457      <span class="type">SequenceT</span> <a href="../replace_all_regex_copy.html" title="Function replace_all_regex_copy">replace_all_regex_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
458                                       <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
459                                       <span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, FormatStringTraitsT, FormatStringAllocatorT &gt; &amp;,
460                                       match_flag_type = match_default|format_default);
461    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT,
462             <span class="bold"><strong>typename</strong></span> FormatStringTraitsT, <span class="bold"><strong>typename</strong></span> FormatStringAllocatorT&gt; 
463      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_all_regex.html" title="Function template replace_all_regex">replace_all_regex</a>(SequenceT &amp;,
464                             <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
465                             <span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, FormatStringTraitsT, FormatStringAllocatorT &gt; &amp;,
466                             match_flag_type = match_default|format_default);
467    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT,
468             <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
469      <span class="type">OutputIteratorT</span> 
470      <a href="../erase_regex_copy.html" title="Function erase_regex_copy">erase_regex_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
471                       <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
472                       match_flag_type = match_default);
473    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
474      <span class="type">SequenceT</span> <a href="../erase_regex_copy.html" title="Function erase_regex_copy">erase_regex_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
475                                 <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
476                                 match_flag_type = match_default);
477    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
478      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_regex.html" title="Function template erase_regex">erase_regex</a>(SequenceT &amp;,
479                       <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
480                       match_flag_type = match_default);
481    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT,
482             <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
483      <span class="type">OutputIteratorT</span> 
484      <a href="../erase_all_regex_copy.html" title="Function erase_all_regex_copy">erase_all_regex_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;,
485                           <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
486                           match_flag_type = match_default);
487    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
488      <span class="type">SequenceT</span> <a href="../erase_all_regex_copy.html" title="Function erase_all_regex_copy">erase_all_regex_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
489                                     <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
490                                     match_flag_type = match_default);
491    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
492      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../erase_all_regex.html" title="Function template erase_all_regex">erase_all_regex</a>(SequenceT &amp;,
493                           <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
494                           match_flag_type = match_default);
495    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT,
496             <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
497      <span class="type">SequenceSequenceT &amp;</span> 
498      <a href="../find_all_regex.html" title="Function template find_all_regex">find_all_regex</a>(SequenceSequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
499                     <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
500                     match_flag_type = match_default);
501    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT,
502             <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
503      <span class="type">SequenceSequenceT &amp;</span> 
504      <a href="../split_regex.html" title="Function template split_regex">split_regex</a>(SequenceSequenceT &amp;, <span class="bold"><strong>const</strong></span> RangeT &amp;,
505                  <span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
506                  match_flag_type = match_default);
507  }
508}</pre>
509</div>
510<div class="section" lang="en">
511<div class="titlepage"><div><div><h4 class="title">
512<a name="id2382044"></a>Header &lt;<a href="../../../boost/algorithm/string/regex_find_format.hpp" target="_top">boost/algorithm/string/regex_find_format.hpp</a>&gt;</h4></div></div></div>
513<p>Defines the <code class="computeroutput">regex_finder</code>  and <code class="computeroutput">regex_formatter</code>  generators. These two functors are designed to work together. <code class="computeroutput">regex_formatter</code>  uses additional information about a match contained in the regex_finder search result.</p>
514<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
515  <span class="bold"><strong>namespace</strong></span> algorithm {
516    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT&gt; 
517      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2569821.html" title="Function template regex_finder">regex_finder</a>(<span class="bold"><strong>const</strong></span> basic_regex&lt; CharT, RegexTraitsT &gt; &amp;,
518                               match_flag_type = match_default);
519    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> TraitsT, <span class="bold"><strong>typename</strong></span> AllocT&gt; 
520      <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2501105.html" title="Function template regex_formatter">regex_formatter</a>(<span class="bold"><strong>const</strong></span> std::basic_string&lt; CharT, TraitsT, AllocT &gt; &amp;,
521                                  match_flag_type = format_default);
522  }
523}</pre>
524</div>
525<div class="section" lang="en">
526<div class="titlepage"><div><div><h4 class="title">
527<a name="id2553153"></a>Header &lt;<a href="../../../boost/algorithm/string/replace.hpp" target="_top">boost/algorithm/string/replace.hpp</a>&gt;</h4></div></div></div>
528<p>Defines various replace algorithms. Each algorithm replaces part(s) of the input according to set of searching and replace criteria.</p>
529<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
530  <span class="bold"><strong>namespace</strong></span> algorithm {
531    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
532      <span class="type">OutputIteratorT</span> 
533      <a href="../replace_range_copy.html" title="Function replace_range_copy">replace_range_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;,
534                         <span class="bold"><strong>const</strong></span> iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_const_iterator&lt; Range1T &gt;::type &gt; &amp;,
535                         <span class="bold"><strong>const</strong></span> Range2T &amp;);
536    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
537      <span class="type">SequenceT</span> <a href="../replace_range_copy.html" title="Function replace_range_copy">replace_range_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
538                                   <span class="bold"><strong>const</strong></span> iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_const_iterator&lt; SequenceT &gt;::type &gt; &amp;,
539                                   <span class="bold"><strong>const</strong></span> RangeT &amp;);
540    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
541      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_range.html" title="Function template replace_range">replace_range</a>(SequenceT &amp;,
542                         <span class="bold"><strong>const</strong></span> iterator_range&lt; <span class="bold"><strong>typename</strong></span> range_iterator&lt; SequenceT &gt;::type &gt; &amp;,
543                         <span class="bold"><strong>const</strong></span> RangeT &amp;);
544    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
545             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
546      <span class="type">OutputIteratorT</span> 
547      <a href="../replace_first_copy.html" title="Function replace_first_copy">replace_first_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
548                         <span class="bold"><strong>const</strong></span> Range3T &amp;);
549    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
550      <span class="type">SequenceT</span> <a href="../replace_first_copy.html" title="Function replace_first_copy">replace_first_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
551                                   <span class="bold"><strong>const</strong></span> Range2T &amp;);
552    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
553      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_first.html" title="Function template replace_first">replace_first</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
554    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
555             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
556      <span class="type">OutputIteratorT</span> 
557      <a href="../ireplace_first_copy.html" title="Function ireplace_first_copy">ireplace_first_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
558                          <span class="bold"><strong>const</strong></span> Range3T &amp;,
559                          <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
560    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> Range1T&gt; 
561      <span class="type">SequenceT</span> <a href="../ireplace_first_copy.html" title="Function ireplace_first_copy">ireplace_first_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
562                                    <span class="bold"><strong>const</strong></span> Range1T &amp;,
563                                    <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
564    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
565      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ireplace_first.html" title="Function template ireplace_first">ireplace_first</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
566                          <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
567    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
568             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
569      <span class="type">OutputIteratorT</span> 
570      <a href="../replace_last_copy.html" title="Function replace_last_copy">replace_last_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
571                        <span class="bold"><strong>const</strong></span> Range3T &amp;);
572    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
573      <span class="type">SequenceT</span> <a href="../replace_last_copy.html" title="Function replace_last_copy">replace_last_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
574                                  <span class="bold"><strong>const</strong></span> Range2T &amp;);
575    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
576      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_last.html" title="Function template replace_last">replace_last</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
577    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
578             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
579      <span class="type">OutputIteratorT</span> 
580      <a href="../ireplace_last_copy.html" title="Function ireplace_last_copy">ireplace_last_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
581                         <span class="bold"><strong>const</strong></span> Range3T &amp;,
582                         <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
583    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
584      <span class="type">SequenceT</span> <a href="../ireplace_last_copy.html" title="Function ireplace_last_copy">ireplace_last_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
585                                   <span class="bold"><strong>const</strong></span> Range2T &amp;,
586                                   <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
587    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
588      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ireplace_last.html" title="Function template ireplace_last">ireplace_last</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
589                         <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
590    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
591             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
592      <span class="type">OutputIteratorT</span> 
593      <a href="../replace_nth_copy.html" title="Function replace_nth_copy">replace_nth_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
594                       <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range3T &amp;);
595    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
596      <span class="type">SequenceT</span> <a href="../replace_nth_copy.html" title="Function replace_nth_copy">replace_nth_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
597                                 <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range2T &amp;);
598    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
599      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_nth.html" title="Function template replace_nth">replace_nth</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
600                       <span class="bold"><strong>const</strong></span> Range2T &amp;);
601    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
602             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
603      <span class="type">OutputIteratorT</span> 
604      <a href="../ireplace_nth_copy.html" title="Function ireplace_nth_copy">ireplace_nth_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
605                        <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range3T &amp;,
606                        <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
607    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
608      <span class="type">SequenceT</span> <a href="../ireplace_nth_copy.html" title="Function ireplace_nth_copy">ireplace_nth_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
609                                  <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range2T &amp;,
610                                  <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
611    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
612      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ireplace_nth.html" title="Function template ireplace_nth">ireplace_nth</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
613                        <span class="bold"><strong>const</strong></span> Range2T &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
614    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
615             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
616      <span class="type">OutputIteratorT</span> 
617      <a href="../replace_all_copy.html" title="Function replace_all_copy">replace_all_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
618                       <span class="bold"><strong>const</strong></span> Range3T &amp;);
619    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
620      <span class="type">SequenceT</span> <a href="../replace_all_copy.html" title="Function replace_all_copy">replace_all_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
621                                 <span class="bold"><strong>const</strong></span> Range2T &amp;);
622    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
623      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_all.html" title="Function template replace_all">replace_all</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
624    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T,
625             <span class="bold"><strong>typename</strong></span> Range3T&gt; 
626      <span class="type">OutputIteratorT</span> 
627      <a href="../ireplace_all_copy.html" title="Function ireplace_all_copy">ireplace_all_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
628                        <span class="bold"><strong>const</strong></span> Range3T &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
629    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
630      <span class="type">SequenceT</span> <a href="../ireplace_all_copy.html" title="Function ireplace_all_copy">ireplace_all_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;,
631                                  <span class="bold"><strong>const</strong></span> Range2T &amp;,
632                                  <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
633    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
634      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../ireplace_all.html" title="Function template ireplace_all">ireplace_all</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
635                        <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
636    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
637      <span class="type">OutputIteratorT</span> 
638      <a href="../replace_head_copy.html" title="Function replace_head_copy">replace_head_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
639                        <span class="bold"><strong>const</strong></span> Range2T &amp;);
640    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
641      <span class="type">SequenceT</span> <a href="../replace_head_copy.html" title="Function replace_head_copy">replace_head_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
642                                  <span class="bold"><strong>const</strong></span> RangeT &amp;);
643    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
644      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_head.html" title="Function template replace_head">replace_head</a>(SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> RangeT &amp;);
645    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
646      <span class="type">OutputIteratorT</span> 
647      <a href="../replace_tail_copy.html" title="Function replace_tail_copy">replace_tail_copy</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> Range1T &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
648                        <span class="bold"><strong>const</strong></span> Range2T &amp;);
649    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
650      <span class="type">SequenceT</span> <a href="../replace_tail_copy.html" title="Function replace_tail_copy">replace_tail_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>,
651                                  <span class="bold"><strong>const</strong></span> RangeT &amp;);
652    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT&gt; 
653      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../replace_tail.html" title="Function template replace_tail">replace_tail</a>(SequenceT &amp;, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> RangeT &amp;);
654  }
655}</pre>
656</div>
657<div class="section" lang="en">
658<div class="titlepage"><div><div><h4 class="title">
659<a name="id2372677"></a>Header &lt;<a href="../../../boost/algorithm/string/sequence_traits.hpp" target="_top">boost/algorithm/string/sequence_traits.hpp</a>&gt;</h4></div></div></div>
660<p>Traits defined in this header are used by various algorithms to achieve better performance for specific containers. Traits provide fail-safe defaults. If a container supports some of these features, it is possible to specialize the specific trait for this container. For lacking compilers, it is possible of define an override for a specific tester function.</p>
661<p>Due to a language restriction, it is not currently possible to define specializations for stl containers without including the corresponding header. To decrease the overhead needed by this inclusion, user can selectively include a specialization header for a specific container. They are located in boost/algorithm/string/stl directory. Alternatively she can include boost/algorithm/string/std_collection_traits.hpp header which contains specializations for all stl containers.</p>
662<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
663  <span class="bold"><strong>namespace</strong></span> algorithm {
664    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>class</strong></span> <a href="../has_native_replace.html" title="Class template has_native_replace">has_native_replace</a>;
665    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>class</strong></span> <a href="../has_stable_iterators.html" title="Class template has_stable_iterators">has_stable_iterators</a>;
666    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>class</strong></span> <a href="../has_const_time_insert.html" title="Class template has_const_time_insert">has_const_time_insert</a>;
667    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> T&gt; <span class="bold"><strong>class</strong></span> <a href="../has_const_time_erase.html" title="Class template has_const_time_erase">has_const_time_erase</a>;
668  }
669}</pre>
670</div>
671<div class="section" lang="en">
672<div class="titlepage"><div><div><h4 class="title">
673<a name="id2541245"></a>Header &lt;<a href="../../../boost/algorithm/string/split.hpp" target="_top">boost/algorithm/string/split.hpp</a>&gt;</h4></div></div></div>
674<p>Defines basic split algorithms. Split algorithms can be used to divide a string into several parts according to given criteria.</p>
675<p>Each part is copied and added as a new element to the output container. Thus the result container must be able to hold copies of the matches (in a compatible structure like std::string) or a reference to it (e.g. using the iterator range class). Examples of such a container are <code class="computeroutput">std::vector&lt;std::string&gt;</code>  or <code class="computeroutput">std::list&lt;boost::iterator_range&lt;std::string::iterator&gt;&gt;</code></p>
676<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
677  <span class="bold"><strong>namespace</strong></span> algorithm {
678    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
679      <span class="type">SequenceSequenceT &amp;</span> 
680      <a href="../find_all.html" title="Function template find_all">find_all</a>(SequenceSequenceT &amp;, Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;);
681    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T&gt; 
682      <span class="type">SequenceSequenceT &amp;</span> 
683      <a href="../ifind_all.html" title="Function template ifind_all">ifind_all</a>(SequenceSequenceT &amp;, Range1T &amp;, <span class="bold"><strong>const</strong></span> Range2T &amp;,
684                <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
685    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
686      <span class="type">SequenceSequenceT &amp;</span> 
687      <a href="../id2580251.html" title="Function template split">split</a>(SequenceSequenceT &amp;, RangeT &amp;, PredicateT,
688            token_compress_mode_type = token_compress_off);
689  }
690}</pre>
691</div>
692<div class="section" lang="en">
693<div class="titlepage"><div><div><h4 class="title">
694<a name="id2552168"></a>Header &lt;<a href="../../../boost/algorithm/string/std_containers_traits.hpp" target="_top">boost/algorithm/string/std_containers_traits.hpp</a>&gt;</h4></div></div></div>
695<p>This file includes sequence traits for stl containers.</p>
696</div>
697<div class="section" lang="en">
698<div class="titlepage"><div><div><h4 class="title">
699<a name="id2552179"></a>Header &lt;<a href="../../../boost/algorithm/string.hpp" target="_top">boost/algorithm/string.hpp</a>&gt;</h4></div></div></div>
700<p>Cumulative include for string_algo library</p>
701</div>
702<div class="section" lang="en">
703<div class="titlepage"><div><div><h4 class="title">
704<a name="id2573542"></a>Header &lt;<a href="../../../boost/algorithm/string_regex.hpp" target="_top">boost/algorithm/string_regex.hpp</a>&gt;</h4></div></div></div>
705<p>Cumulative include for string_algo library. In addtion to string.hpp contains also regex-related stuff.</p>
706</div>
707<div class="section" lang="en">
708<div class="titlepage"><div><div><h4 class="title">
709<a name="id2573553"></a>Header &lt;<a href="../../../boost/algorithm/string/trim.hpp" target="_top">boost/algorithm/string/trim.hpp</a>&gt;</h4></div></div></div>
710<p>Defines trim algorithms. Trim algorithms are used to remove trailing and leading spaces from a sequence (string). Space is recognized using given locales.</p>
711<p>Parametric (<code class="computeroutput">_if</code> ) variants use a predicate (functor) to select which characters are to be trimmed.. Functions take a selection predicate as a parameter, which is used to determine whether a character is a space. Common predicates are provided in classification.hpp header.</p>
712<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
713  <span class="bold"><strong>namespace</strong></span> algorithm {
714    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
715      <span class="type">OutputIteratorT</span> 
716      <a href="../trim_left_copy_if.html" title="Function trim_left_copy_if">trim_left_copy_if</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, PredicateT);
717    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
718      <span class="type">SequenceT</span> <a href="../trim_left_copy_if.html" title="Function trim_left_copy_if">trim_left_copy_if</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, PredicateT);
719    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
720      <span class="type">SequenceT</span> <a href="../trim_left_copy.html" title="Function template trim_left_copy">trim_left_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
721                               <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
722    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
723      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim_left_if.html" title="Function template trim_left_if">trim_left_if</a>(SequenceT &amp;, PredicateT);
724    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
725      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim_left.html" title="Function template trim_left">trim_left</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
726    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
727      <span class="type">OutputIteratorT</span> 
728      <a href="../trim_right_copy_if.html" title="Function trim_right_copy_if">trim_right_copy_if</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, PredicateT);
729    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
730      <span class="type">SequenceT</span> <a href="../trim_right_copy_if.html" title="Function trim_right_copy_if">trim_right_copy_if</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, PredicateT);
731    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
732      <span class="type">SequenceT</span> <a href="../trim_right_copy.html" title="Function template trim_right_copy">trim_right_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
733                                <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
734    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
735      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim_right_if.html" title="Function template trim_right_if">trim_right_if</a>(SequenceT &amp;, PredicateT);
736    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
737      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim_right.html" title="Function template trim_right">trim_right</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
738    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
739      <span class="type">OutputIteratorT</span> 
740      <a href="../trim_copy_if.html" title="Function trim_copy_if">trim_copy_if</a>(OutputIteratorT, <span class="bold"><strong>const</strong></span> RangeT &amp;, PredicateT);
741    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
742      <span class="type">SequenceT</span> <a href="../trim_copy_if.html" title="Function trim_copy_if">trim_copy_if</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;, PredicateT);
743    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
744      <span class="type">SequenceT</span> <a href="../trim_copy.html" title="Function template trim_copy">trim_copy</a>(<span class="bold"><strong>const</strong></span> SequenceT &amp;,
745                          <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
746    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT&gt; 
747      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim_if.html" title="Function template trim_if">trim_if</a>(SequenceT &amp;, PredicateT);
748    <span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> SequenceT&gt; 
749      <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim.html" title="Function template trim">trim</a>(SequenceT &amp;, <span class="bold"><strong>const</strong></span> std::locale &amp; = std::locale());
750  }
751}</pre>
752</div>
753</div>
754<table width="100%"><tr>
755<td align="left"></td>
756<td align="right"><small>Copyright © 2002-2004 Pavol Droba</small></td>
757</tr></table>
758<hr>
759<div class="spirit-nav">
760<a accesskey="p" href="concept.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../to_lower_copy.html"><img src="../images/next.png" alt="Next"></a>
761</div>
762</body>
763</html>
Note: See TracBrowser for help on using the repository browser.