• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>Struct template regex_token_iterator</title>
6<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="../../xpressive/reference.html#header.boost.xpressive.xpressive_fwd_hpp" title="Header &lt;boost/xpressive/xpressive_fwd.hpp&gt;">
10<link rel="prev" href="regex_iterator.html" title="Struct template regex_iterator">
11<link rel="next" href="regex_traits.html" title="Struct template regex_traits">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
16<td align="center"><a href="../../../../index.html">Home</a></td>
17<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="regex_iterator.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.xpressive_fwd_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="regex_traits.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="refentry">
27<a name="boost.xpressive.regex_token_iterator"></a><div class="titlepage"></div>
28<div class="refnamediv">
29<h2><span class="refentrytitle">Struct template regex_token_iterator</span></h2>
30<p>boost::xpressive::regex_token_iterator</p>
31</div>
32<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
33<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../xpressive/reference.html#header.boost.xpressive.xpressive_fwd_hpp" title="Header &lt;boost/xpressive/xpressive_fwd.hpp&gt;">boost/xpressive/xpressive_fwd.hpp</a>&gt;
34
35</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> BidiIter<span class="special">&gt;</span>
36<span class="keyword">struct</span> <a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a> <span class="special">{</span>
37  <span class="comment">// <a class="link" href="regex_token_iterator.html#boost.xpressive.regex_token_iteratorconstruct-copy-destruct">construct/copy/destruct</a></span>
38  <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_3-bb"><span class="identifier">regex_token_iterator</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
39  <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_4-bb"><span class="identifier">regex_token_iterator</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
40  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> LetExpr<span class="special">&gt;</span>
41    <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_5-bb"><span class="identifier">regex_token_iterator</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span>
42                         <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
43  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Subs<span class="special">&gt;</span>
44    <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_6-bb"><span class="identifier">regex_token_iterator</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span>
45                         <span class="identifier">Subs</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span>
46                         <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
47  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Subs<span class="special">,</span> <span class="keyword">typename</span> LetExpr<span class="special">&gt;</span>
48    <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_7-bb"><span class="identifier">regex_token_iterator</span></a><span class="special">(</span><span class="identifier">BidiIter</span><span class="special">,</span> <span class="identifier">BidiIter</span><span class="special">,</span> <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span>
49                         <span class="identifier">Subs</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">,</span>
50                         <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
51  <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_8-bb"><span class="identifier">regex_token_iterator</span></a><span class="special">(</span><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
52  <a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="special">&amp;</span>
53  <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_9-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
54
55  <span class="comment">// <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_2-bb">public member functions</a></span>
56  <span class="identifier">value_type</span> <span class="keyword">const</span>  <span class="special">&amp;</span> <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_2_1-bb"><span class="keyword">operator</span> <span class="special">*</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
57  <span class="identifier">value_type</span> <span class="keyword">const</span>  <span class="special">*</span> <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_2_2-bb"><span class="keyword">operator</span> <span class="special">-&gt;</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
58  <a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="special">&amp;</span> <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_2_3-bb"><span class="keyword">operator</span><span class="special">++</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
59  <a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <a class="link" href="regex_token_iterator.html#id-1_3_47_5_18_2_1_14_2_4-bb"><span class="keyword">operator</span><span class="special">++</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
60<span class="special">}</span><span class="special">;</span></pre></div>
61<div class="refsect1">
62<a name="id-1.3.47.5.19.24.4"></a><h2>Description</h2>
63<div class="refsect2">
64<a name="id-1.3.47.5.19.24.4.2"></a><h3>
65<a name="boost.xpressive.regex_token_iteratorconstruct-copy-destruct"></a><code class="computeroutput">regex_token_iterator</code>
66        public
67       construct/copy/destruct</h3>
68<div class="orderedlist"><ol class="orderedlist" type="1">
69<li class="listitem">
70<pre class="literallayout"><a name="id-1_3_47_5_18_2_1_14_3-bb"></a><span class="identifier">regex_token_iterator</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
71<p>
72</p>
73<div class="variablelist"><table border="0" class="variablelist compact">
74<colgroup>
75<col align="left" valign="top">
76<col>
77</colgroup>
78<tbody><tr>
79<td><p><span class="term">Postconditions:</span></p></td>
80<td><p><code class="computeroutput">*this</code> is the end of sequence iterator. </p></td>
81</tr></tbody>
82</table></div>
83</li>
84<li class="listitem">
85<pre class="literallayout"><a name="id-1_3_47_5_18_2_1_14_4-bb"></a><span class="identifier">regex_token_iterator</span><span class="special">(</span><span class="identifier">BidiIter</span> begin<span class="special">,</span> <span class="identifier">BidiIter</span> end<span class="special">,</span>
86                     <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> rex<span class="special">)</span><span class="special">;</span></pre>
87<p>
88
89</p>
90<div class="variablelist"><table border="0" class="variablelist compact">
91<colgroup>
92<col align="left" valign="top">
93<col>
94</colgroup>
95<tbody>
96<tr>
97<td><p><span class="term">Parameters:</span></p></td>
98<td><div class="variablelist"><table border="0" class="variablelist compact">
99<colgroup>
100<col align="left" valign="top">
101<col>
102</colgroup>
103<tbody>
104<tr>
105<td><p><span class="term"><code class="computeroutput">begin</code></span></p></td>
106<td><p>The beginning of the character range to search. </p></td>
107</tr>
108<tr>
109<td><p><span class="term"><code class="computeroutput">end</code></span></p></td>
110<td><p>The end of the character range to search. </p></td>
111</tr>
112<tr>
113<td><p><span class="term"><code class="computeroutput">rex</code></span></p></td>
114<td><p>The regex pattern to search for. </p></td>
115</tr>
116</tbody>
117</table></div></td>
118</tr>
119<tr>
120<td><p><span class="term">Requires:</span></p></td>
121<td><p><code class="computeroutput"></code>[begin,end) is a valid range. </p></td>
122</tr>
123</tbody>
124</table></div>
125</li>
126<li class="listitem">
127<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> LetExpr<span class="special">&gt;</span>
128  <a name="id-1_3_47_5_18_2_1_14_5-bb"></a><span class="identifier">regex_token_iterator</span><span class="special">(</span><span class="identifier">BidiIter</span> begin<span class="special">,</span> <span class="identifier">BidiIter</span> end<span class="special">,</span>
129                       <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> rex<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> args<span class="special">)</span><span class="special">;</span></pre>
130<p>
131
132</p>
133<div class="variablelist"><table border="0" class="variablelist compact">
134<colgroup>
135<col align="left" valign="top">
136<col>
137</colgroup>
138<tbody>
139<tr>
140<td><p><span class="term">Parameters:</span></p></td>
141<td><div class="variablelist"><table border="0" class="variablelist compact">
142<colgroup>
143<col align="left" valign="top">
144<col>
145</colgroup>
146<tbody>
147<tr>
148<td><p><span class="term"><code class="computeroutput">args</code></span></p></td>
149<td><p>A let() expression with argument bindings for semantic actions. </p></td>
150</tr>
151<tr>
152<td><p><span class="term"><code class="computeroutput">begin</code></span></p></td>
153<td><p>The beginning of the character range to search. </p></td>
154</tr>
155<tr>
156<td><p><span class="term"><code class="computeroutput">end</code></span></p></td>
157<td><p>The end of the character range to search. </p></td>
158</tr>
159<tr>
160<td><p><span class="term"><code class="computeroutput">rex</code></span></p></td>
161<td><p>The regex pattern to search for. </p></td>
162</tr>
163</tbody>
164</table></div></td>
165</tr>
166<tr>
167<td><p><span class="term">Requires:</span></p></td>
168<td><p><code class="computeroutput"></code>[begin,end) is a valid range. </p></td>
169</tr>
170</tbody>
171</table></div>
172</li>
173<li class="listitem">
174<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Subs<span class="special">&gt;</span>
175  <a name="id-1_3_47_5_18_2_1_14_6-bb"></a><span class="identifier">regex_token_iterator</span><span class="special">(</span><span class="identifier">BidiIter</span> begin<span class="special">,</span> <span class="identifier">BidiIter</span> end<span class="special">,</span>
176                       <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> rex<span class="special">,</span>
177                       <span class="identifier">Subs</span> <span class="keyword">const</span> <span class="special">&amp;</span> subs<span class="special">,</span>
178                       <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> flags <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span></pre>
179<p>
180
181
182</p>
183<div class="variablelist"><table border="0" class="variablelist compact">
184<colgroup>
185<col align="left" valign="top">
186<col>
187</colgroup>
188<tbody>
189<tr>
190<td><p><span class="term">Parameters:</span></p></td>
191<td><div class="variablelist"><table border="0" class="variablelist compact">
192<colgroup>
193<col align="left" valign="top">
194<col>
195</colgroup>
196<tbody>
197<tr>
198<td><p><span class="term"><code class="computeroutput">begin</code></span></p></td>
199<td><p>The beginning of the character range to search. </p></td>
200</tr>
201<tr>
202<td><p><span class="term"><code class="computeroutput">end</code></span></p></td>
203<td><p>The end of the character range to search. </p></td>
204</tr>
205<tr>
206<td><p><span class="term"><code class="computeroutput">flags</code></span></p></td>
207<td><p>Optional match flags, used to control how the expression is matched against the sequence. (See match_flag_type.) </p></td>
208</tr>
209<tr>
210<td><p><span class="term"><code class="computeroutput">rex</code></span></p></td>
211<td><p>The regex pattern to search for. </p></td>
212</tr>
213<tr>
214<td><p><span class="term"><code class="computeroutput">subs</code></span></p></td>
215<td><p>A range of integers designating sub-matches to be treated as tokens. </p></td>
216</tr>
217</tbody>
218</table></div></td>
219</tr>
220<tr>
221<td><p><span class="term">Requires:</span></p></td>
222<td><p><code class="computeroutput"></code>[begin,end) is a valid range. </p></td>
223</tr>
224<tr>
225<td><p><span class="term">Requires:</span></p></td>
226<td><p><code class="computeroutput">subs</code> is either an integer greater or equal to -1, or else an array or non-empty <code class="computeroutput">std::vector&lt;&gt;</code> of such integers. </p></td>
227</tr>
228</tbody>
229</table></div>
230</li>
231<li class="listitem">
232<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Subs<span class="special">,</span> <span class="keyword">typename</span> LetExpr<span class="special">&gt;</span>
233  <a name="id-1_3_47_5_18_2_1_14_7-bb"></a><span class="identifier">regex_token_iterator</span><span class="special">(</span><span class="identifier">BidiIter</span> begin<span class="special">,</span> <span class="identifier">BidiIter</span> end<span class="special">,</span>
234                       <a class="link" href="basic_regex.html" title="Struct template basic_regex">basic_regex</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> rex<span class="special">,</span>
235                       <span class="identifier">Subs</span> <span class="keyword">const</span> <span class="special">&amp;</span> subs<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> args<span class="special">,</span>
236                       <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_flag_type</span> flags <span class="special">=</span> <span class="identifier">regex_constants</span><span class="special">::</span><span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span></pre>
237<p>
238
239
240</p>
241<div class="variablelist"><table border="0" class="variablelist compact">
242<colgroup>
243<col align="left" valign="top">
244<col>
245</colgroup>
246<tbody>
247<tr>
248<td><p><span class="term">Parameters:</span></p></td>
249<td><div class="variablelist"><table border="0" class="variablelist compact">
250<colgroup>
251<col align="left" valign="top">
252<col>
253</colgroup>
254<tbody>
255<tr>
256<td><p><span class="term"><code class="computeroutput">args</code></span></p></td>
257<td><p>A let() expression with argument bindings for semantic actions. </p></td>
258</tr>
259<tr>
260<td><p><span class="term"><code class="computeroutput">begin</code></span></p></td>
261<td><p>The beginning of the character range to search. </p></td>
262</tr>
263<tr>
264<td><p><span class="term"><code class="computeroutput">end</code></span></p></td>
265<td><p>The end of the character range to search. </p></td>
266</tr>
267<tr>
268<td><p><span class="term"><code class="computeroutput">flags</code></span></p></td>
269<td><p>Optional match flags, used to control how the expression is matched against the sequence. (See match_flag_type.) </p></td>
270</tr>
271<tr>
272<td><p><span class="term"><code class="computeroutput">rex</code></span></p></td>
273<td><p>The regex pattern to search for. </p></td>
274</tr>
275<tr>
276<td><p><span class="term"><code class="computeroutput">subs</code></span></p></td>
277<td><p>A range of integers designating sub-matches to be treated as tokens. </p></td>
278</tr>
279</tbody>
280</table></div></td>
281</tr>
282<tr>
283<td><p><span class="term">Requires:</span></p></td>
284<td><p><code class="computeroutput"></code>[begin,end) is a valid range. </p></td>
285</tr>
286<tr>
287<td><p><span class="term">Requires:</span></p></td>
288<td><p><code class="computeroutput">subs</code> is either an integer greater or equal to -1, or else an array or non-empty <code class="computeroutput">std::vector&lt;&gt;</code> of such integers. </p></td>
289</tr>
290</tbody>
291</table></div>
292</li>
293<li class="listitem">
294<pre class="literallayout"><a name="id-1_3_47_5_18_2_1_14_8-bb"></a><span class="identifier">regex_token_iterator</span><span class="special">(</span><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> that<span class="special">)</span><span class="special">;</span></pre>
295<p>
296</p>
297<div class="variablelist"><table border="0" class="variablelist compact">
298<colgroup>
299<col align="left" valign="top">
300<col>
301</colgroup>
302<tbody><tr>
303<td><p><span class="term">Postconditions:</span></p></td>
304<td><p><code class="computeroutput">*this == that</code> </p></td>
305</tr></tbody>
306</table></div>
307</li>
308<li class="listitem">
309<pre class="literallayout"><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="special">&amp;</span>
310<a name="id-1_3_47_5_18_2_1_14_9-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="keyword">const</span> <span class="special">&amp;</span> that<span class="special">)</span><span class="special">;</span></pre>
311<p>
312</p>
313<div class="variablelist"><table border="0" class="variablelist compact">
314<colgroup>
315<col align="left" valign="top">
316<col>
317</colgroup>
318<tbody><tr>
319<td><p><span class="term">Postconditions:</span></p></td>
320<td><p><code class="computeroutput">*this == that</code> </p></td>
321</tr></tbody>
322</table></div>
323</li>
324</ol></div>
325</div>
326<div class="refsect2">
327<a name="id-1.3.47.5.19.24.4.3"></a><h3>
328<a name="id-1_3_47_5_18_2_1_14_2-bb"></a><code class="computeroutput">regex_token_iterator</code> public member functions</h3>
329<div class="orderedlist"><ol class="orderedlist" type="1">
330<li class="listitem"><pre class="literallayout"><span class="identifier">value_type</span> <span class="keyword">const</span>  <span class="special">&amp;</span> <a name="id-1_3_47_5_18_2_1_14_2_1-bb"></a><span class="keyword">operator</span> <span class="special">*</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
331<li class="listitem"><pre class="literallayout"><span class="identifier">value_type</span> <span class="keyword">const</span>  <span class="special">*</span> <a name="id-1_3_47_5_18_2_1_14_2_2-bb"></a><span class="keyword">operator</span> <span class="special">-&gt;</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
332<li class="listitem">
333<pre class="literallayout"><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <span class="special">&amp;</span> <a name="id-1_3_47_5_18_2_1_14_2_3-bb"></a><span class="keyword">operator</span><span class="special">++</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre>
334<p>If N == -1 then sets *this equal to the end of sequence iterator. Otherwise if N+1 &lt; subs.size(), then increments N and sets result equal to ((subs[N] == -1) ? value_type(what.prefix().str()) : value_type(what[subs[N]].str())). Otherwise if what.prefix().first != what[0].second and if the element match_prev_avail is not set in flags then sets it. Then locates the next match as if by calling regex_search(what[0].second, end, what, *pre, flags), with the following variation: in the event that the previous match found was of zero length (what[0].length() == 0) then attempts to find a non-zero length match starting at what[0].second, only if that fails and provided what[0].second != suffix().second does it look for a (possibly zero length) match starting from what[0].second + 1. If such a match is found then sets N equal to zero, and sets result equal to ((subs[N] == -1) ? value_type(what.prefix().str()) : value_type(what[subs[N]].str())). Otherwise if no further matches were found, then let last_end be the endpoint of the last match that was found. Then if last_end != end and subs[0] == -1 sets N equal to -1 and sets result equal to value_type(last_end, end). Otherwise sets *this equal to the end of sequence iterator. </p>
335</li>
336<li class="listitem"><pre class="literallayout"><a class="link" href="regex_token_iterator.html" title="Struct template regex_token_iterator">regex_token_iterator</a><span class="special">&lt;</span> <span class="identifier">BidiIter</span> <span class="special">&gt;</span> <a name="id-1_3_47_5_18_2_1_14_2_4-bb"></a><span class="keyword">operator</span><span class="special">++</span><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span></pre></li>
337</ol></div>
338</div>
339</div>
340</div>
341<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
342<td align="left"></td>
343<td align="right"><div class="copyright-footer">Copyright © 2007 Eric Niebler<p>
344        Distributed under the Boost Software License, Version 1.0. (See accompanying
345        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
346      </p>
347</div></td>
348</tr></table>
349<hr>
350<div class="spirit-nav">
351<a accesskey="p" href="regex_iterator.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../xpressive/reference.html#header.boost.xpressive.xpressive_fwd_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="regex_traits.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
352</div>
353</body>
354</html>
355