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 <boost/algorithm/string/case_conv.hpp></a></span></dt> |
---|
30 | <dt><span class="section"><a href="reference.html#id2336200">Header <boost/algorithm/string/classification.hpp></a></span></dt> |
---|
31 | <dt><span class="section"><a href="reference.html#id2558715">Header <boost/algorithm/string/compare.hpp></a></span></dt> |
---|
32 | <dt><span class="section"><a href="reference.html#id2353460">Header <boost/algorithm/string/concept.hpp></a></span></dt> |
---|
33 | <dt><span class="section"><a href="reference.html#id2384198">Header <boost/algorithm/string/constants.hpp></a></span></dt> |
---|
34 | <dt><span class="section"><a href="reference.html#id2571451">Header <boost/algorithm/string/erase.hpp></a></span></dt> |
---|
35 | <dt><span class="section"><a href="reference.html#id2487443">Header <boost/algorithm/string/find.hpp></a></span></dt> |
---|
36 | <dt><span class="section"><a href="reference.html#id2441187">Header <boost/algorithm/string/find_format.hpp></a></span></dt> |
---|
37 | <dt><span class="section"><a href="reference.html#id2382464">Header <boost/algorithm/string/find_iterator.hpp></a></span></dt> |
---|
38 | <dt><span class="section"><a href="reference.html#id2447201">Header <boost/algorithm/string/finder.hpp></a></span></dt> |
---|
39 | <dt><span class="section"><a href="reference.html#id2356089">Header <boost/algorithm/string/formatter.hpp></a></span></dt> |
---|
40 | <dt><span class="section"><a href="reference.html#id2589054">Header <boost/algorithm/string/predicate.hpp></a></span></dt> |
---|
41 | <dt><span class="section"><a href="reference.html#id2556226">Header <boost/algorithm/string/regex.hpp></a></span></dt> |
---|
42 | <dt><span class="section"><a href="reference.html#id2382044">Header <boost/algorithm/string/regex_find_format.hpp></a></span></dt> |
---|
43 | <dt><span class="section"><a href="reference.html#id2553153">Header <boost/algorithm/string/replace.hpp></a></span></dt> |
---|
44 | <dt><span class="section"><a href="reference.html#id2372677">Header <boost/algorithm/string/sequence_traits.hpp></a></span></dt> |
---|
45 | <dt><span class="section"><a href="reference.html#id2541245">Header <boost/algorithm/string/split.hpp></a></span></dt> |
---|
46 | <dt><span class="section"><a href="reference.html#id2552168">Header <boost/algorithm/string/std_containers_traits.hpp></a></span></dt> |
---|
47 | <dt><span class="section"><a href="reference.html#id2552179">Header <boost/algorithm/string.hpp></a></span></dt> |
---|
48 | <dt><span class="section"><a href="reference.html#id2573542">Header <boost/algorithm/string_regex.hpp></a></span></dt> |
---|
49 | <dt><span class="section"><a href="reference.html#id2573553">Header <boost/algorithm/string/trim.hpp></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 <<a href="../../../boost/algorithm/string/case_conv.hpp" target="_top">boost/algorithm/string/case_conv.hpp</a>></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><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, |
---|
60 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
61 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
63 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
64 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> WritableRangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
66 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, |
---|
69 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
70 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
72 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
73 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> WritableRangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> std::locale & = 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 <<a href="../../../boost/algorithm/string/classification.hpp" target="_top">boost/algorithm/string/classification.hpp</a>></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 & = 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 & = 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 & = 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 & = 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 & = 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 & = 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 & = 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 & = 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 & = 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 & = 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 & = 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 & = std::locale()); |
---|
97 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT> <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 &); |
---|
98 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> CharT> <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><<span class="bold"><strong>typename</strong></span> Pred1T, <span class="bold"><strong>typename</strong></span> Pred2T> |
---|
100 | <span class="type"><span class="emphasis"><em>unspecified</em></span></span> <a href="../id2568583.html" title="Function template operator&&"><span class="bold"><strong>operator</strong></span>&&</a>(<span class="bold"><strong>const</strong></span> predicate_facade< Pred1T > &, |
---|
101 | <span class="bold"><strong>const</strong></span> predicate_facade< Pred2T > &); |
---|
102 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Pred1T, <span class="bold"><strong>typename</strong></span> Pred2T> |
---|
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< Pred1T > &, |
---|
104 | <span class="bold"><strong>const</strong></span> predicate_facade< Pred2T > &); |
---|
105 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> PredT> |
---|
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< PredT > &); |
---|
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 <<a href="../../../boost/algorithm/string/compare.hpp" target="_top">boost/algorithm/string/compare.hpp</a>></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 <<a href="../../../boost/algorithm/string/concept.hpp" target="_top">boost/algorithm/string/concept.hpp</a>></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><<span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> IteratorT> <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><<span class="bold"><strong>typename</strong></span> FormatterT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> IteratorT> |
---|
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 <<a href="../../../boost/algorithm/string/constants.hpp" target="_top">boost/algorithm/string/constants.hpp</a>></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 <<a href="../../../boost/algorithm/string/erase.hpp" target="_top">boost/algorithm/string/erase.hpp</a>></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><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, |
---|
151 | <span class="bold"><strong>const</strong></span> iterator_range< <span class="bold"><strong>typename</strong></span> range_const_iterator< RangeT >::type > &); |
---|
152 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
154 | <span class="bold"><strong>const</strong></span> iterator_range< <span class="bold"><strong>typename</strong></span> range_const_iterator< SequenceT >::type > &); |
---|
155 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
157 | <span class="bold"><strong>const</strong></span> iterator_range< <span class="bold"><strong>typename</strong></span> range_iterator< SequenceT >::type > &); |
---|
158 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
161 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
163 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
165 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
168 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
169 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
171 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
172 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
174 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
175 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
178 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
180 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
182 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
185 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
186 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
188 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
189 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
191 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
192 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
195 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
196 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
198 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
199 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
201 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
204 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
205 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
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 & = std::locale()); |
---|
209 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
211 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
212 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
215 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
217 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
219 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
222 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
223 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
225 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
226 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
228 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
229 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
232 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
234 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> <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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
235 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
238 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
240 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> <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 &, <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 <<a href="../../../boost/algorithm/string/find.hpp" target="_top">boost/algorithm/string/find.hpp</a>></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><<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT> |
---|
251 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
252 | <a href="../find.html" title="Function template find">find</a>(RangeT &, FinderT); |
---|
253 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
254 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< Range1T >::type ></span> |
---|
255 | <a href="../find_first.html" title="Function template find_first">find_first</a>(Range1T &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
256 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
257 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< Range1T >::type ></span> |
---|
258 | <a href="../ifind_first.html" title="Function template ifind_first">ifind_first</a>(Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
259 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
260 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
261 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< Range1T >::type ></span> |
---|
262 | <a href="../find_last.html" title="Function template find_last">find_last</a>(Range1T &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
263 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
264 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< Range1T >::type ></span> |
---|
265 | <a href="../ifind_last.html" title="Function template ifind_last">ifind_last</a>(Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
266 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
267 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
268 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< Range1T >::type ></span> |
---|
269 | <a href="../find_nth.html" title="Function template find_nth">find_nth</a>(Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
270 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
271 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< Range1T >::type ></span> |
---|
272 | <a href="../ifind_nth.html" title="Function template ifind_nth">ifind_nth</a>(Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
273 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
274 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT> |
---|
275 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
276 | <a href="../find_head.html" title="Function template find_head">find_head</a>(RangeT &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
277 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT> |
---|
278 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
279 | <a href="../find_tail.html" title="Function template find_tail">find_tail</a>(RangeT &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
280 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
281 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
282 | <a href="../find_token.html" title="Function template find_token">find_token</a>(RangeT &, 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 <<a href="../../../boost/algorithm/string/find_format.hpp" target="_top">boost/algorithm/string/find_format.hpp</a>></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><<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> |
---|
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 &, FinderT, FormatterT); |
---|
297 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT> |
---|
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 &, FinderT, FormatterT); |
---|
299 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT> |
---|
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 &, FinderT, FormatterT); |
---|
301 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, FinderT, |
---|
305 | FormatterT); |
---|
306 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT> |
---|
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 &, FinderT, FormatterT); |
---|
308 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> FinderT, <span class="bold"><strong>typename</strong></span> FormatterT> |
---|
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 &, FinderT, FormatterT); |
---|
310 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
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< CharT, RegexTraitsT > &, |
---|
312 | match_flag_type = match_default); |
---|
313 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> TraitsT, <span class="bold"><strong>typename</strong></span> AllocT> |
---|
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< CharT, TraitsT, AllocT > &, |
---|
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 <<a href="../../../boost/algorithm/string/find_iterator.hpp" target="_top">boost/algorithm/string/find_iterator.hpp</a>></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><<span class="bold"><strong>typename</strong></span> IteratorT> <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><<span class="bold"><strong>typename</strong></span> IteratorT> <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><<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT> |
---|
328 | <span class="type"><a href="../find_iterator.html" title="Class template find_iterator">find_iterator</a>< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
329 | <a href="../make_find_iterator.html" title="Function template make_find_iterator">make_find_iterator</a>(RangeT &, FinderT); |
---|
330 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> FinderT> |
---|
331 | <span class="type"><a href="../split_iterator.html" title="Class template split_iterator">split_iterator</a>< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
332 | <a href="../make_split_iterator.html" title="Function template make_split_iterator">make_split_iterator</a>(RangeT &, 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 <<a href="../../../boost/algorithm/string/finder.hpp" target="_top">boost/algorithm/string/finder.hpp</a>></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><<span class="bold"><strong>typename</strong></span> ContainerT> <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 &); |
---|
343 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> ContainerT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
345 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> ContainerT> <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 &); |
---|
346 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> ContainerT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
348 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> ContainerT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>); |
---|
350 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> ContainerT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, <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><<span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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><<span class="bold"><strong>typename</strong></span> ForwardIteratorT> |
---|
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><<span class="bold"><strong>typename</strong></span> ForwardIteratorT> |
---|
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< ForwardIteratorT >); |
---|
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 <<a href="../../../boost/algorithm/string/formatter.hpp" target="_top">boost/algorithm/string/formatter.hpp</a>></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><<span class="bold"><strong>typename</strong></span> RangeT> <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 &); |
---|
372 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT> <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><<span class="bold"><strong>typename</strong></span> RangeT> <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 &); |
---|
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 <<a href="../../../boost/algorithm/string/predicate.hpp" target="_top">boost/algorithm/string/predicate.hpp</a>></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><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, PredicateT); |
---|
386 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
388 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
390 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
391 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, PredicateT); |
---|
393 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
395 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
397 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
398 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, PredicateT); |
---|
400 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
402 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
404 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
405 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, PredicateT); |
---|
407 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
409 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
411 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
412 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, 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 <<a href="../../../boost/algorithm/string/regex.hpp" target="_top">boost/algorithm/string/regex.hpp</a>></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><<span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
424 | <span class="type">iterator_range< <span class="bold"><strong>typename</strong></span> range_result_iterator< RangeT >::type ></span> |
---|
425 | <a href="../find_regex.html" title="Function template find_regex">find_regex</a>(RangeT &, <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
426 | match_flag_type = match_default); |
---|
427 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
432 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
433 | <span class="bold"><strong>const</strong></span> std::basic_string< CharT, FormatStringTraitsT, FormatStringAllocatorT > &, |
---|
434 | match_flag_type = match_default|format_default); |
---|
435 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
438 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
439 | <span class="bold"><strong>const</strong></span> std::basic_string< CharT, FormatStringTraitsT, FormatStringAllocatorT > &, |
---|
440 | match_flag_type = match_default|format_default); |
---|
441 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
444 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
445 | <span class="bold"><strong>const</strong></span> std::basic_string< CharT, FormatStringTraitsT, FormatStringAllocatorT > &, |
---|
446 | match_flag_type = match_default|format_default); |
---|
447 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
452 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
453 | <span class="bold"><strong>const</strong></span> std::basic_string< CharT, FormatStringTraitsT, FormatStringAllocatorT > &, |
---|
454 | match_flag_type = match_default|format_default); |
---|
455 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
458 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
459 | <span class="bold"><strong>const</strong></span> std::basic_string< CharT, FormatStringTraitsT, FormatStringAllocatorT > &, |
---|
460 | match_flag_type = match_default|format_default); |
---|
461 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
464 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
465 | <span class="bold"><strong>const</strong></span> std::basic_string< CharT, FormatStringTraitsT, FormatStringAllocatorT > &, |
---|
466 | match_flag_type = match_default|format_default); |
---|
467 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
471 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
472 | match_flag_type = match_default); |
---|
473 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
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 &, |
---|
475 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
476 | match_flag_type = match_default); |
---|
477 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
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 &, |
---|
479 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
480 | match_flag_type = match_default); |
---|
481 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, |
---|
485 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
486 | match_flag_type = match_default); |
---|
487 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
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 &, |
---|
489 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
490 | match_flag_type = match_default); |
---|
491 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
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 &, |
---|
493 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
494 | match_flag_type = match_default); |
---|
495 | <span class="bold"><strong>template</strong></span><<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> |
---|
497 | <span class="type">SequenceSequenceT &</span> |
---|
498 | <a href="../find_all_regex.html" title="Function template find_all_regex">find_all_regex</a>(SequenceSequenceT &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
499 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
500 | match_flag_type = match_default); |
---|
501 | <span class="bold"><strong>template</strong></span><<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> |
---|
503 | <span class="type">SequenceSequenceT &</span> |
---|
504 | <a href="../split_regex.html" title="Function template split_regex">split_regex</a>(SequenceSequenceT &, <span class="bold"><strong>const</strong></span> RangeT &, |
---|
505 | <span class="bold"><strong>const</strong></span> basic_regex< CharT, RegexTraitsT > &, |
---|
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 <<a href="../../../boost/algorithm/string/regex_find_format.hpp" target="_top">boost/algorithm/string/regex_find_format.hpp</a>></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><<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> RegexTraitsT> |
---|
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< CharT, RegexTraitsT > &, |
---|
518 | match_flag_type = match_default); |
---|
519 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> CharT, <span class="bold"><strong>typename</strong></span> TraitsT, <span class="bold"><strong>typename</strong></span> AllocT> |
---|
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< CharT, TraitsT, AllocT > &, |
---|
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 <<a href="../../../boost/algorithm/string/replace.hpp" target="_top">boost/algorithm/string/replace.hpp</a>></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><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, |
---|
534 | <span class="bold"><strong>const</strong></span> iterator_range< <span class="bold"><strong>typename</strong></span> range_const_iterator< Range1T >::type > &, |
---|
535 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
536 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, |
---|
538 | <span class="bold"><strong>const</strong></span> iterator_range< <span class="bold"><strong>typename</strong></span> range_const_iterator< SequenceT >::type > &, |
---|
539 | <span class="bold"><strong>const</strong></span> RangeT &); |
---|
540 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, |
---|
542 | <span class="bold"><strong>const</strong></span> iterator_range< <span class="bold"><strong>typename</strong></span> range_iterator< SequenceT >::type > &, |
---|
543 | <span class="bold"><strong>const</strong></span> RangeT &); |
---|
544 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
548 | <span class="bold"><strong>const</strong></span> Range3T &); |
---|
549 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
551 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
552 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
554 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
558 | <span class="bold"><strong>const</strong></span> Range3T &, |
---|
559 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
560 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range2T, <span class="bold"><strong>typename</strong></span> Range1T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
562 | <span class="bold"><strong>const</strong></span> Range1T &, |
---|
563 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
564 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
566 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
567 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
571 | <span class="bold"><strong>const</strong></span> Range3T &); |
---|
572 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
574 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
575 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
577 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
581 | <span class="bold"><strong>const</strong></span> Range3T &, |
---|
582 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
583 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
585 | <span class="bold"><strong>const</strong></span> Range2T &, |
---|
586 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
587 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
589 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
590 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
594 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range3T &); |
---|
595 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
597 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
598 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
600 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
601 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
605 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range3T &, |
---|
606 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
607 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
609 | <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
610 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
611 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
613 | <span class="bold"><strong>const</strong></span> Range2T &, <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
614 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
618 | <span class="bold"><strong>const</strong></span> Range3T &); |
---|
619 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
621 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
622 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
624 | <span class="bold"><strong>template</strong></span><<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> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
628 | <span class="bold"><strong>const</strong></span> Range3T &, <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
629 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, |
---|
631 | <span class="bold"><strong>const</strong></span> Range2T &, |
---|
632 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
633 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>const</strong></span> Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
635 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
636 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
639 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
640 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
642 | <span class="bold"><strong>const</strong></span> RangeT &); |
---|
643 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
645 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
648 | <span class="bold"><strong>const</strong></span> Range2T &); |
---|
649 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, |
---|
651 | <span class="bold"><strong>const</strong></span> RangeT &); |
---|
652 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> RangeT> |
---|
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 &, <span class="bold"><strong>unsigned</strong></span> <span class="bold"><strong>int</strong></span>, <span class="bold"><strong>const</strong></span> RangeT &); |
---|
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 <<a href="../../../boost/algorithm/string/sequence_traits.hpp" target="_top">boost/algorithm/string/sequence_traits.hpp</a>></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><<span class="bold"><strong>typename</strong></span> T> <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><<span class="bold"><strong>typename</strong></span> T> <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><<span class="bold"><strong>typename</strong></span> T> <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><<span class="bold"><strong>typename</strong></span> T> <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 <<a href="../../../boost/algorithm/string/split.hpp" target="_top">boost/algorithm/string/split.hpp</a>></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<std::string></code> or <code class="computeroutput">std::list<boost::iterator_range<std::string::iterator>></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><<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
679 | <span class="type">SequenceSequenceT &</span> |
---|
680 | <a href="../find_all.html" title="Function template find_all">find_all</a>(SequenceSequenceT &, Range1T &, <span class="bold"><strong>const</strong></span> Range2T &); |
---|
681 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> Range1T, <span class="bold"><strong>typename</strong></span> Range2T> |
---|
682 | <span class="type">SequenceSequenceT &</span> |
---|
683 | <a href="../ifind_all.html" title="Function template ifind_all">ifind_all</a>(SequenceSequenceT &, Range1T &, <span class="bold"><strong>const</strong></span> Range2T &, |
---|
684 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
685 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceSequenceT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
686 | <span class="type">SequenceSequenceT &</span> |
---|
687 | <a href="../id2580251.html" title="Function template split">split</a>(SequenceSequenceT &, RangeT &, 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 <<a href="../../../boost/algorithm/string/std_containers_traits.hpp" target="_top">boost/algorithm/string/std_containers_traits.hpp</a>></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 <<a href="../../../boost/algorithm/string.hpp" target="_top">boost/algorithm/string.hpp</a>></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 <<a href="../../../boost/algorithm/string_regex.hpp" target="_top">boost/algorithm/string_regex.hpp</a>></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 <<a href="../../../boost/algorithm/string/trim.hpp" target="_top">boost/algorithm/string/trim.hpp</a>></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><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
717 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
719 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
721 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
722 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
724 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
726 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
729 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
731 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
733 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
734 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
736 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
738 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> OutputIteratorT, <span class="bold"><strong>typename</strong></span> RangeT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
741 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
743 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
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 &, |
---|
745 | <span class="bold"><strong>const</strong></span> std::locale & = std::locale()); |
---|
746 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT, <span class="bold"><strong>typename</strong></span> PredicateT> |
---|
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 &, PredicateT); |
---|
748 | <span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> SequenceT> |
---|
749 | <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="../trim.html" title="Function template trim">trim</a>(SequenceT &, <span class="bold"><strong>const</strong></span> std::locale & = 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> |
---|