summaryrefslogtreecommitdiff
path: root/doc/html/string_algo/reference.html
blob: e3b7fb6243c1113b741fd5d60431aef31c52ae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Reference</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../string_algo.html" title="Chapter&#160;2.&#160;Boost String Algorithms Library">
<link rel="prev" href="concept.html" title="Concepts">
<link rel="next" href="../boost/algorithm/to_lower_copy.html" title="Function to_lower_copy">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="concept.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><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="../boost/algorithm/to_lower_copy.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="string_algo.reference"></a>Reference</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string_hpp">Header &lt;boost/algorithm/string.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.case_conv_hpp">Header &lt;boost/algorithm/string/case_conv.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.classification_hpp">Header &lt;boost/algorithm/string/classification.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.compare_hpp">Header &lt;boost/algorithm/string/compare.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.concept_hpp">Header &lt;boost/algorithm/string/concept.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.constants_hpp">Header &lt;boost/algorithm/string/constants.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.erase_hpp">Header &lt;boost/algorithm/string/erase.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.find_hpp">Header &lt;boost/algorithm/string/find.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.find_format_hpp">Header &lt;boost/algorithm/string/find_format.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.find_iterator_hpp">Header &lt;boost/algorithm/string/find_iterator.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.finder_hpp">Header &lt;boost/algorithm/string/finder.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.formatter_hpp">Header &lt;boost/algorithm/string/formatter.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.iter_find_hpp">Header &lt;boost/algorithm/string/iter_find.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.join_hpp">Header &lt;boost/algorithm/string/join.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.predicate_hpp">Header &lt;boost/algorithm/string/predicate.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.regex_hpp">Header &lt;boost/algorithm/string/regex.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.regex_find_format_hpp">Header &lt;boost/algorithm/string/regex_find_format.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.replace_hpp">Header &lt;boost/algorithm/string/replace.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.sequence_traits_hpp">Header &lt;boost/algorithm/string/sequence_traits.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.split_hpp">Header &lt;boost/algorithm/string/split.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.std_containers_traits_hpp">Header &lt;boost/algorithm/string/std_containers_traits.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.trim_hpp">Header &lt;boost/algorithm/string/trim.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string.trim_all_hpp">Header &lt;boost/algorithm/string/trim_all.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#header.boost.algorithm.string_regex_hpp">Header &lt;boost/algorithm/string_regex.hpp&gt;</a></span></dt>
</dl></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string.hpp" target="_top">boost/algorithm/string.hpp</a>&gt;</h3></div></div></div>
<p>Cumulative include for string_algo library </p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.case_conv_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/case_conv.hpp" target="_top">boost/algorithm/string/case_conv.hpp</a>&gt;</h3></div></div></div>
<p>Defines sequence case-conversion algorithms. Algorithms convert each element in the input sequence to the desired case using provided locales. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/to_lower_copy.html" title="Function to_lower_copy"><span class="identifier">to_lower_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                    <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/to_lower_copy.html" title="Function to_lower_copy"><span class="identifier">to_lower_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                              <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> WritableRangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/to_lower.html" title="Function template to_lower"><span class="identifier">to_lower</span></a><span class="special">(</span><span class="identifier">WritableRangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/to_upper_copy.html" title="Function to_upper_copy"><span class="identifier">to_upper_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                    <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/to_upper_copy.html" title="Function to_upper_copy"><span class="identifier">to_upper_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                              <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> WritableRangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/to_upper.html" title="Function template to_upper"><span class="identifier">to_upper</span></a><span class="special">(</span><span class="identifier">WritableRangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.classification_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/classification.hpp" target="_top">boost/algorithm/string/classification.hpp</a>&gt;</h3></div></div></div>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_classified.html" title="Function is_classified"><span class="identifier">is_classified</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">ctype_base</span><span class="special">::</span><span class="identifier">mask</span><span class="special">,</span> 
                              <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_space.html" title="Function is_space"><span class="identifier">is_space</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_alnum.html" title="Function is_alnum"><span class="identifier">is_alnum</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_alpha.html" title="Function is_alpha"><span class="identifier">is_alpha</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_cntrl.html" title="Function is_cntrl"><span class="identifier">is_cntrl</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_digit_idp440233520.html" title="Function is_digit"><span class="identifier">is_digit</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_graph.html" title="Function is_graph"><span class="identifier">is_graph</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_lower.html" title="Function is_lower"><span class="identifier">is_lower</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_print.html" title="Function is_print"><span class="identifier">is_print</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_punct.html" title="Function is_punct"><span class="identifier">is_punct</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_upper.html" title="Function is_upper"><span class="identifier">is_upper</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_xdigit.html" title="Function is_xdigit"><span class="identifier">is_xdigit</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_any_of.html" title="Function template is_any_of"><span class="identifier">is_any_of</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/is_from_range.html" title="Function template is_from_range"><span class="identifier">is_from_range</span></a><span class="special">(</span><span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">CharT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Pred1T<span class="special">,</span> <span class="keyword">typename</span> Pred2T<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/operator___idp440276176.html" title="Function template operator&amp;&amp;"><span class="keyword">operator</span><span class="special">&amp;&amp;</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">predicate_facade</span><span class="special">&lt;</span> <span class="identifier">Pred1T</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="keyword">const</span> <span class="identifier">predicate_facade</span><span class="special">&lt;</span> <span class="identifier">Pred2T</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Pred1T<span class="special">,</span> <span class="keyword">typename</span> Pred2T<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/operator_idp440282864.html" title="Function template operator||"><span class="keyword">operator</span><span class="special">||</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">predicate_facade</span><span class="special">&lt;</span> <span class="identifier">Pred1T</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="keyword">const</span> <span class="identifier">predicate_facade</span><span class="special">&lt;</span> <span class="identifier">Pred2T</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> PredT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/operator__idp440289552.html" title="Function template operator!"><span class="keyword">operator</span><span class="special">!</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">predicate_facade</span><span class="special">&lt;</span> <span class="identifier">PredT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.compare_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/compare.hpp" target="_top">boost/algorithm/string/compare.hpp</a>&gt;</h3></div></div></div>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/is_equal.html" title="Struct is_equal">is_equal</a><span class="special">;</span>
    <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/is_iequal.html" title="Struct is_iequal">is_iequal</a><span class="special">;</span>
    <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/is_less.html" title="Struct is_less">is_less</a><span class="special">;</span>
    <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/is_iless.html" title="Struct is_iless">is_iless</a><span class="special">;</span>
    <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/is_not_greater.html" title="Struct is_not_greater">is_not_greater</a><span class="special">;</span>
    <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/is_not_igreater.html" title="Struct is_not_igreater">is_not_igreater</a><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.concept_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/concept.hpp" target="_top">boost/algorithm/string/concept.hpp</a>&gt;</h3></div></div></div>
<p>Defines concepts used in string_algo library </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> FinderT<span class="special">,</span> <span class="keyword">typename</span> IteratorT<span class="special">&gt;</span> <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/FinderConcept.html" title="Struct template FinderConcept">FinderConcept</a><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> FormatterT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> <span class="keyword">typename</span> IteratorT<span class="special">&gt;</span> 
      <span class="keyword">struct</span> <a class="link" href="../boost/algorithm/FormatterConcept.html" title="Struct template FormatterConcept">FormatterConcept</a><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.constants_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/constants.hpp" target="_top">boost/algorithm/string/constants.hpp</a>&gt;</h3></div></div></div>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">enum</span> <a class="link" href="../boost/algorithm/token_compress_mode_type.html" title="Type token_compress_mode_type">token_compress_mode_type</a><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.erase_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/erase.hpp" target="_top">boost/algorithm/string/erase.hpp</a>&gt;</h3></div></div></div>
<p>Defines various erase algorithms. Each algorithm removes part(s) of the input according to a searching criteria. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_range_copy.html" title="Function erase_range_copy"><span class="identifier">erase_range_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_const_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_range_copy.html" title="Function erase_range_copy"><span class="identifier">erase_range_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                 <span class="keyword">const</span> <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_const_iterator</span><span class="special">&lt;</span> <span class="identifier">SequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_range.html" title="Function template erase_range"><span class="identifier">erase_range</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">SequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_first_copy.html" title="Function erase_first_copy"><span class="identifier">erase_first_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_first_copy.html" title="Function erase_first_copy"><span class="identifier">erase_first_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_first.html" title="Function template erase_first"><span class="identifier">erase_first</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ierase_first_copy.html" title="Function ierase_first_copy"><span class="identifier">ierase_first_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ierase_first_copy.html" title="Function ierase_first_copy"><span class="identifier">ierase_first_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ierase_first.html" title="Function template ierase_first"><span class="identifier">ierase_first</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_last_copy.html" title="Function erase_last_copy"><span class="identifier">erase_last_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_last_copy.html" title="Function erase_last_copy"><span class="identifier">erase_last_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_last.html" title="Function template erase_last"><span class="identifier">erase_last</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ierase_last_copy.html" title="Function ierase_last_copy"><span class="identifier">ierase_last_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ierase_last_copy.html" title="Function ierase_last_copy"><span class="identifier">ierase_last_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                 <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ierase_last.html" title="Function template ierase_last"><span class="identifier">ierase_last</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_nth_copy.html" title="Function erase_nth_copy"><span class="identifier">erase_nth_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_nth_copy.html" title="Function erase_nth_copy"><span class="identifier">erase_nth_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_nth.html" title="Function template erase_nth"><span class="identifier">erase_nth</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ierase_nth_copy.html" title="Function ierase_nth_copy"><span class="identifier">ierase_nth_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                      <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ierase_nth_copy.html" title="Function ierase_nth_copy"><span class="identifier">ierase_nth_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                                <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ierase_nth.html" title="Function template ierase_nth"><span class="identifier">ierase_nth</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                      <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_all_copy.html" title="Function erase_all_copy"><span class="identifier">erase_all_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_all_copy.html" title="Function erase_all_copy"><span class="identifier">erase_all_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_all.html" title="Function template erase_all"><span class="identifier">erase_all</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ierase_all_copy.html" title="Function ierase_all_copy"><span class="identifier">ierase_all_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                      <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ierase_all_copy.html" title="Function ierase_all_copy"><span class="identifier">ierase_all_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ierase_all.html" title="Function template ierase_all"><span class="identifier">ierase_all</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                      <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> <a class="link" href="../boost/algorithm/erase_head_copy.html" title="Function erase_head_copy"><span class="identifier">erase_head_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_head_copy.html" title="Function erase_head_copy"><span class="identifier">erase_head_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_head.html" title="Function template erase_head"><span class="identifier">erase_head</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> <a class="link" href="../boost/algorithm/erase_tail_copy.html" title="Function erase_tail_copy"><span class="identifier">erase_tail_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_tail_copy.html" title="Function erase_tail_copy"><span class="identifier">erase_tail_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_tail.html" title="Function template erase_tail"><span class="identifier">erase_tail</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.find_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/find.hpp" target="_top">boost/algorithm/string/find.hpp</a>&gt;</h3></div></div></div>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find.html" title="Function template find"><span class="identifier">find</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">FinderT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_first.html" title="Function template find_first"><span class="identifier">find_first</span></a><span class="special">(</span><span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/ifind_first.html" title="Function template ifind_first"><span class="identifier">ifind_first</span></a><span class="special">(</span><span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                  <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_last.html" title="Function template find_last"><span class="identifier">find_last</span></a><span class="special">(</span><span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/ifind_last.html" title="Function template ifind_last"><span class="identifier">ifind_last</span></a><span class="special">(</span><span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                 <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_nth.html" title="Function template find_nth"><span class="identifier">find_nth</span></a><span class="special">(</span><span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/ifind_nth.html" title="Function template ifind_nth"><span class="identifier">ifind_nth</span></a><span class="special">(</span><span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_head.html" title="Function template find_head"><span class="identifier">find_head</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_tail.html" title="Function template find_tail"><span class="identifier">find_tail</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_token.html" title="Function template find_token"><span class="identifier">find_token</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">,</span> 
                 <span class="identifier">token_compress_mode_type</span> <span class="special">=</span> <span class="identifier">token_compress_off</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.find_format_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/find_format.hpp" target="_top">boost/algorithm/string/find_format.hpp</a>&gt;</h3></div></div></div>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatterT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/find_format_copy.html" title="Function find_format_copy"><span class="identifier">find_format_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">,</span> <span class="identifier">FormatterT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> <span class="keyword">typename</span> FormatterT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/find_format_copy.html" title="Function find_format_copy"><span class="identifier">find_format_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">,</span> <span class="identifier">FormatterT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> <span class="keyword">typename</span> FormatterT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/find_format.html" title="Function template find_format"><span class="identifier">find_format</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">,</span> <span class="identifier">FormatterT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatterT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/find_format_all_copy.html" title="Function find_format_all_copy"><span class="identifier">find_format_all_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">,</span> 
                           <span class="identifier">FormatterT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> <span class="keyword">typename</span> FormatterT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/find_format_all_copy.html" title="Function find_format_all_copy"><span class="identifier">find_format_all_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">,</span> <span class="identifier">FormatterT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">,</span> <span class="keyword">typename</span> FormatterT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/find_format_all.html" title="Function template find_format_all"><span class="identifier">find_format_all</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">,</span> <span class="identifier">FormatterT</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.find_iterator_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/find_iterator.hpp" target="_top">boost/algorithm/string/find_iterator.hpp</a>&gt;</h3></div></div></div>
<p>Defines find iterator classes. Find iterator repeatedly 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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IteratorT<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../boost/algorithm/find_iterator.html" title="Class template find_iterator">find_iterator</a><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> IteratorT<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../boost/algorithm/split_iterator.html" title="Class template split_iterator">split_iterator</a><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_iterator.html" title="Class template find_iterator">find_iterator</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/make_find_iterator.html" title="Function template make_find_iterator"><span class="identifier">make_find_iterator</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/split_iterator.html" title="Class template split_iterator">split_iterator</a><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/make_split_iterator.html" title="Function template make_split_iterator"><span class="identifier">make_split_iterator</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.finder_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/finder.hpp" target="_top">boost/algorithm/string/finder.hpp</a>&gt;</h3></div></div></div>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/first_finder.html" title="Function first_finder"><span class="identifier">first_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/first_finder.html" title="Function first_finder"><span class="identifier">first_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/last_finder.html" title="Function last_finder"><span class="identifier">last_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/last_finder.html" title="Function last_finder"><span class="identifier">last_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/nth_finder.html" title="Function nth_finder"><span class="identifier">nth_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/nth_finder.html" title="Function nth_finder"><span class="identifier">nth_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/head_finder.html" title="Function head_finder"><span class="identifier">head_finder</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/tail_finder.html" title="Function tail_finder"><span class="identifier">tail_finder</span></a><span class="special">(</span><span class="keyword">int</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/token_finder.html" title="Function template token_finder"><span class="identifier">token_finder</span></a><span class="special">(</span><span class="identifier">PredicateT</span><span class="special">,</span> 
                               <span class="identifier">token_compress_mode_type</span> <span class="special">=</span> <span class="identifier">token_compress_off</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ForwardIteratorT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/range_finder.html" title="Function range_finder"><span class="identifier">range_finder</span></a><span class="special">(</span><span class="identifier">ForwardIteratorT</span><span class="special">,</span> <span class="identifier">ForwardIteratorT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ForwardIteratorT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/range_finder.html" title="Function range_finder"><span class="identifier">range_finder</span></a><span class="special">(</span><span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="identifier">ForwardIteratorT</span> <span class="special">&gt;</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.formatter_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/formatter.hpp" target="_top">boost/algorithm/string/formatter.hpp</a>&gt;</h3></div></div></div>
<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>
<p>Formatters are used as pluggable components for replace facilities. This header contains generator functions for the Formatters provided in this library. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/const_formatter.html" title="Function template const_formatter"><span class="identifier">const_formatter</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/identity_formatter.html" title="Function template identity_formatter"><span class="identifier">identity_formatter</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/empty_formatter.html" title="Function template empty_formatter"><span class="identifier">empty_formatter</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> FinderT<span class="special">&gt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/dissect_formatter.html" title="Function template dissect_formatter"><span class="identifier">dissect_formatter</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">FinderT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.iter_find_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/iter_find.hpp" target="_top">boost/algorithm/string/iter_find.hpp</a>&gt;</h3></div></div></div>
<p>Defines generic split algorithms. Split algorithms can be used to divide a sequence into several part according to a given criteria. Result is given as a 'container of containers' where elements are copies or references to extracted parts.</p>
<p>There are two algorithms provided. One iterates over matching substrings, the other one over the gaps between these matches. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> <a class="link" href="../boost/algorithm/iter_find.html" title="Function template iter_find"><span class="identifier">iter_find</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> FinderT<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> <a class="link" href="../boost/algorithm/iter_split.html" title="Function template iter_split"><span class="identifier">iter_split</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">FinderT</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.join_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/join.hpp" target="_top">boost/algorithm/string/join.hpp</a>&gt;</h3></div></div></div>
<p>Defines join algorithm.</p>
<p>Join algorithm is a counterpart to split algorithms. It joins strings from a 'list' by adding user defined separator. Additionally there is a version that allows simple filtering by providing a predicate. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">&gt;</span> 
      <span class="identifier">range_value</span><span class="special">&lt;</span> <span class="identifier">SequenceSequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
      <a class="link" href="../boost/algorithm/join.html" title="Function template join"><span class="identifier">join</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> 
             <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">range_value</span><span class="special">&lt;</span> <span class="identifier">SequenceSequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
      <a class="link" href="../boost/algorithm/join_if_idp440829920.html" title="Function template join_if"><span class="identifier">join_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.predicate_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/predicate.hpp" target="_top">boost/algorithm/string/predicate.hpp</a>&gt;</h3></div></div></div>
<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>
<p>All predicates provide the strong exception guarantee. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/starts_with.html" title="Function starts_with"><span class="identifier">starts_with</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/starts_with.html" title="Function starts_with"><span class="identifier">starts_with</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/istarts_with.html" title="Function template istarts_with"><span class="identifier">istarts_with</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/ends_with.html" title="Function ends_with"><span class="identifier">ends_with</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/ends_with.html" title="Function ends_with"><span class="identifier">ends_with</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/iends_with.html" title="Function template iends_with"><span class="identifier">iends_with</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                      <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/contains.html" title="Function contains"><span class="identifier">contains</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/contains.html" title="Function contains"><span class="identifier">contains</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/icontains.html" title="Function template icontains"><span class="identifier">icontains</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                     <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/equals.html" title="Function equals"><span class="identifier">equals</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/equals.html" title="Function equals"><span class="identifier">equals</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/iequals.html" title="Function template iequals"><span class="identifier">iequals</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                   <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/lexicographical_compare.html" title="Function lexicographical_compare"><span class="identifier">lexicographical_compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/lexicographical_compare.html" title="Function lexicographical_compare"><span class="identifier">lexicographical_compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/ilexicographical_compare.html" title="Function template ilexicographical_compare"><span class="identifier">ilexicographical_compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                    <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">bool</span> <a class="link" href="../boost/algorithm/all.html" title="Function template all"><span class="identifier">all</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.regex_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/regex.hpp" target="_top">boost/algorithm/string/regex.hpp</a>&gt;</h3></div></div></div>
<p>Defines regex variants of the algorithms. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">RangeT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> 
      <a class="link" href="../boost/algorithm/find_regex.html" title="Function template find_regex"><span class="identifier">find_regex</span></a><span class="special">(</span><span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                 <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_regex_copy.html" title="Function replace_regex_copy"><span class="identifier">replace_regex_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_regex_copy.html" title="Function replace_regex_copy"><span class="identifier">replace_regex_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_regex.html" title="Function template replace_regex"><span class="identifier">replace_regex</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_all_regex_copy.html" title="Function replace_all_regex_copy"><span class="identifier">replace_all_regex_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_all_regex_copy.html" title="Function replace_all_regex_copy"><span class="identifier">replace_all_regex_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                       <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                       <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                       <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">,</span> 
             <span class="keyword">typename</span> FormatStringTraitsT<span class="special">,</span> <span class="keyword">typename</span> FormatStringAllocatorT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_all_regex.html" title="Function template replace_all_regex"><span class="identifier">replace_all_regex</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">FormatStringTraitsT</span><span class="special">,</span> <span class="identifier">FormatStringAllocatorT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                             <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">|</span><span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_regex_copy.html" title="Function erase_regex_copy"><span class="identifier">erase_regex_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_regex_copy.html" title="Function erase_regex_copy"><span class="identifier">erase_regex_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                 <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                 <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_regex.html" title="Function template erase_regex"><span class="identifier">erase_regex</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/erase_all_regex_copy.html" title="Function erase_all_regex_copy"><span class="identifier">erase_all_regex_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                           <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                           <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/erase_all_regex_copy.html" title="Function erase_all_regex_copy"><span class="identifier">erase_all_regex_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                     <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                     <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/erase_all_regex.html" title="Function template erase_all_regex"><span class="identifier">erase_all_regex</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                           <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                           <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> 
      <a class="link" href="../boost/algorithm/find_all_regex.html" title="Function template find_all_regex"><span class="identifier">find_all_regex</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                     <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                     <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> 
      <a class="link" href="../boost/algorithm/split_regex.html" title="Function template split_regex"><span class="identifier">split_regex</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                  <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                  <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> CharT<span class="special">,</span> 
             <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="identifier">range_value</span><span class="special">&lt;</span> <span class="identifier">SequenceSequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> 
      <a class="link" href="../boost/algorithm/join_if_idp441062688.html" title="Function template join_if"><span class="identifier">join_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
              <span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
              <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.regex_find_format_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/regex_find_format.hpp" target="_top">boost/algorithm/string/regex_find_format.hpp</a>&gt;</h3></div></div></div>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> RegexTraitsT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/regex_finder.html" title="Function template regex_finder"><span class="identifier">regex_finder</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">basic_regex</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">RegexTraitsT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                               <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">match_default</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> TraitsT<span class="special">,</span> <span class="keyword">typename</span> AllocT<span class="special">&gt;</span> 
      <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <a class="link" href="../boost/algorithm/regex_formatter.html" title="Function template regex_formatter"><span class="identifier">regex_formatter</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">TraitsT</span><span class="special">,</span> <span class="identifier">AllocT</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="identifier">match_flag_type</span> <span class="special">=</span> <span class="identifier">format_default</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.replace_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/replace.hpp" target="_top">boost/algorithm/string/replace.hpp</a>&gt;</h3></div></div></div>
<p>Defines various replace algorithms. Each algorithm replaces part(s) of the input according to set of searching and replace criteria. </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_range_copy.html" title="Function replace_range_copy"><span class="identifier">replace_range_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_const_iterator</span><span class="special">&lt;</span> <span class="identifier">Range1T</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_range_copy.html" title="Function replace_range_copy"><span class="identifier">replace_range_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_const_iterator</span><span class="special">&lt;</span> <span class="identifier">SequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_range.html" title="Function template replace_range"><span class="identifier">replace_range</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">iterator_range</span><span class="special">&lt;</span> <span class="keyword">typename</span> <span class="identifier">range_iterator</span><span class="special">&lt;</span> <span class="identifier">SequenceT</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_first_copy.html" title="Function replace_first_copy"><span class="identifier">replace_first_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_first_copy.html" title="Function replace_first_copy"><span class="identifier">replace_first_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_first.html" title="Function template replace_first"><span class="identifier">replace_first</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ireplace_first_copy.html" title="Function ireplace_first_copy"><span class="identifier">ireplace_first_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                          <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">,</span> 
                          <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ireplace_first_copy.html" title="Function ireplace_first_copy"><span class="identifier">ireplace_first_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                    <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                    <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ireplace_first.html" title="Function template ireplace_first"><span class="identifier">ireplace_first</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                          <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_last_copy.html" title="Function replace_last_copy"><span class="identifier">replace_last_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_last_copy.html" title="Function replace_last_copy"><span class="identifier">replace_last_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_last.html" title="Function template replace_last"><span class="identifier">replace_last</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ireplace_last_copy.html" title="Function ireplace_last_copy"><span class="identifier">ireplace_last_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ireplace_last_copy.html" title="Function ireplace_last_copy"><span class="identifier">ireplace_last_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                   <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ireplace_last.html" title="Function template ireplace_last"><span class="identifier">ireplace_last</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                         <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_nth_copy.html" title="Function replace_nth_copy"><span class="identifier">replace_nth_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_nth_copy.html" title="Function replace_nth_copy"><span class="identifier">replace_nth_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                                 <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_nth.html" title="Function template replace_nth"><span class="identifier">replace_nth</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ireplace_nth_copy.html" title="Function ireplace_nth_copy"><span class="identifier">ireplace_nth_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ireplace_nth_copy.html" title="Function ireplace_nth_copy"><span class="identifier">ireplace_nth_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                                  <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ireplace_nth.html" title="Function template ireplace_nth"><span class="identifier">ireplace_nth</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_all_copy.html" title="Function replace_all_copy"><span class="identifier">replace_all_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                       <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_all_copy.html" title="Function replace_all_copy"><span class="identifier">replace_all_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                 <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_all.html" title="Function template replace_all"><span class="identifier">replace_all</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">,</span> 
             <span class="keyword">typename</span> Range3T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/ireplace_all_copy.html" title="Function ireplace_all_copy"><span class="identifier">ireplace_all_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">Range3T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/ireplace_all_copy.html" title="Function ireplace_all_copy"><span class="identifier">ireplace_all_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/ireplace_all.html" title="Function template ireplace_all"><span class="identifier">ireplace_all</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_head_copy.html" title="Function replace_head_copy"><span class="identifier">replace_head_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_head_copy.html" title="Function replace_head_copy"><span class="identifier">replace_head_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_head.html" title="Function template replace_head"><span class="identifier">replace_head</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/replace_tail_copy.html" title="Function replace_tail_copy"><span class="identifier">replace_tail_copy</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> 
                        <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/replace_tail_copy.html" title="Function replace_tail_copy"><span class="identifier">replace_tail_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/replace_tail.html" title="Function template replace_tail"><span class="identifier">replace_tail</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">int</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.sequence_traits_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/sequence_traits.hpp" target="_top">boost/algorithm/string/sequence_traits.hpp</a>&gt;</h3></div></div></div>
<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>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../boost/algorithm/has_native_replace.html" title="Class template has_native_replace">has_native_replace</a><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../boost/algorithm/has_stable_iterators.html" title="Class template has_stable_iterators">has_stable_iterators</a><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../boost/algorithm/has_const_time_insert.html" title="Class template has_const_time_insert">has_const_time_insert</a><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../boost/algorithm/has_const_time_erase.html" title="Class template has_const_time_erase">has_const_time_erase</a><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.split_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/split.hpp" target="_top">boost/algorithm/string/split.hpp</a>&gt;</h3></div></div></div>
<p>Defines basic split algorithms. Split algorithms can be used to divide a string into several parts according to given criteria.</p>
<p>Each part is copied and added as a new element to the output container. Thus the result container must be able to hold copies of the matches (in a compatible structure like std::string) or a reference to it (e.g. using the iterator range class). Examples of such a container are <code class="computeroutput">std::vector&lt;std::string&gt;</code> or <code class="computeroutput">std::list&lt;boost::iterator_range&lt;std::string::iterator&gt;&gt;</code> </p>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> 
      <a class="link" href="../boost/algorithm/find_all.html" title="Function template find_all"><span class="identifier">find_all</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> Range1T<span class="special">,</span> <span class="keyword">typename</span> Range2T<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> 
      <a class="link" href="../boost/algorithm/ifind_all.html" title="Function template ifind_all"><span class="identifier">ifind_all</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">Range1T</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">Range2T</span> <span class="special">&amp;</span><span class="special">,</span> 
                <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceSequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span> 
      <a class="link" href="../boost/algorithm/split_idp441369712.html" title="Function template split"><span class="identifier">split</span></a><span class="special">(</span><span class="identifier">SequenceSequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">,</span> 
            <span class="identifier">token_compress_mode_type</span> <span class="special">=</span> <span class="identifier">token_compress_off</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.std_containers_traits_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/std_containers_traits.hpp" target="_top">boost/algorithm/string/std_containers_traits.hpp</a>&gt;</h3></div></div></div>
<p>This file includes sequence traits for stl containers. </p>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.trim_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/trim.hpp" target="_top">boost/algorithm/string/trim.hpp</a>&gt;</h3></div></div></div>
<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>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/trim_left_copy_if.html" title="Function trim_left_copy_if"><span class="identifier">trim_left_copy_if</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_left_copy_if.html" title="Function trim_left_copy_if"><span class="identifier">trim_left_copy_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_left_copy.html" title="Function template trim_left_copy"><span class="identifier">trim_left_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                               <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_left_if.html" title="Function template trim_left_if"><span class="identifier">trim_left_if</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_left.html" title="Function template trim_left"><span class="identifier">trim_left</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/trim_right_copy_if.html" title="Function trim_right_copy_if"><span class="identifier">trim_right_copy_if</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_right_copy_if.html" title="Function trim_right_copy_if"><span class="identifier">trim_right_copy_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_right_copy.html" title="Function template trim_right_copy"><span class="identifier">trim_right_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_right_if.html" title="Function template trim_right_if"><span class="identifier">trim_right_if</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_right.html" title="Function template trim_right"><span class="identifier">trim_right</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> OutputIteratorT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">OutputIteratorT</span> 
      <a class="link" href="../boost/algorithm/trim_copy_if.html" title="Function trim_copy_if"><span class="identifier">trim_copy_if</span></a><span class="special">(</span><span class="identifier">OutputIteratorT</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_copy_if.html" title="Function trim_copy_if"><span class="identifier">trim_copy_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_copy.html" title="Function template trim_copy"><span class="identifier">trim_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                          <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_if.html" title="Function template trim_if"><span class="identifier">trim_if</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim.html" title="Function template trim"><span class="identifier">trim</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string.trim_all_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string/trim_all.hpp" target="_top">boost/algorithm/string/trim_all.hpp</a>&gt;</h3></div></div></div>
<p>Defines trim_all algorithms.</p>
<p>Just like <code class="computeroutput">trim</code>, <code class="computeroutput">trim_all</code> removes all trailing and leading spaces from a sequence (string). In addition, spaces in the middle of the sequence are truncated to just one character. Space is recognized using given locales.</p>
<p><code class="computeroutput">trim_fill</code> acts as trim_all, but the spaces in the middle are replaces with a user-define sequence of character.</p>
<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>
<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span>
  <span class="keyword">namespace</span> <span class="identifier">algorithm</span> <span class="special">{</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_all_copy_if.html" title="Function template trim_all_copy_if"><span class="identifier">trim_all_copy_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_all_if.html" title="Function template trim_all_if"><span class="identifier">trim_all_if</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_all_copy.html" title="Function template trim_all_copy"><span class="identifier">trim_all_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> 
                              <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_all.html" title="Function template trim_all"><span class="identifier">trim_all</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_fill_copy_if.html" title="Function template trim_fill_copy_if"><span class="identifier">trim_fill_copy_if</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                                  <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">,</span> <span class="keyword">typename</span> PredicateT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_fill_if.html" title="Function template trim_fill_if"><span class="identifier">trim_fill_if</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">PredicateT</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="identifier">SequenceT</span> <a class="link" href="../boost/algorithm/trim_fill_copy.html" title="Function template trim_fill_copy"><span class="identifier">trim_fill_copy</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                               <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
    <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> SequenceT<span class="special">,</span> <span class="keyword">typename</span> RangeT<span class="special">&gt;</span> 
      <span class="keyword">void</span> <a class="link" href="../boost/algorithm/trim_fill.html" title="Function template trim_fill"><span class="identifier">trim_fill</span></a><span class="special">(</span><span class="identifier">SequenceT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">RangeT</span> <span class="special">&amp;</span><span class="special">,</span> 
                     <span class="keyword">const</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">locale</span><span class="special">(</span><span class="special">)</span><span class="special">)</span><span class="special">;</span>
  <span class="special">}</span>
<span class="special">}</span></pre>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="header.boost.algorithm.string_regex_hpp"></a>Header &lt;<a href="../../../boost/algorithm/string_regex.hpp" target="_top">boost/algorithm/string_regex.hpp</a>&gt;</h3></div></div></div>
<p>Cumulative include for string_algo library. In addition to string.hpp contains also regex-related stuff. </p>
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2002-2004 Pavol Droba<p>Use, modification and distribution is subject to the Boost
                Software License, Version 1.0. (See accompanying file
                <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
            </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="concept.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../string_algo.html"><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="../boost/algorithm/to_lower_copy.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>