• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.6"/>
7<title>Boost.Locale: boost/locale/boundary/segment.hpp Source File</title>
8<link href="tabs.css" rel="stylesheet" type="text/css"/>
9<script type="text/javascript" src="jquery.js"></script>
10<script type="text/javascript" src="dynsections.js"></script>
11<link href="navtree.css" rel="stylesheet" type="text/css"/>
12<script type="text/javascript" src="resize.js"></script>
13<script type="text/javascript" src="navtree.js"></script>
14<script type="text/javascript">
15  $(document).ready(initResizable);
16  $(window).load(resizeHeight);
17</script>
18<link href="doxygen.css" rel="stylesheet" type="text/css" />
19</head>
20<body>
21<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
22<div id="titlearea">
23<table cellspacing="0" cellpadding="0">
24 <tbody>
25 <tr style="height: 56px;">
26  <td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
27  <td style="padding-left: 0.5em;">
28   <div id="projectname">Boost.Locale
29   </div>
30  </td>
31 </tr>
32 </tbody>
33</table>
34</div>
35<!-- end header part -->
36<!-- Generated by Doxygen 1.8.6 -->
37  <div id="navrow1" class="tabs">
38    <ul class="tablist">
39      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
40      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
41      <li><a href="modules.html"><span>Modules</span></a></li>
42      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
43      <li><a href="annotated.html"><span>Classes</span></a></li>
44      <li class="current"><a href="files.html"><span>Files</span></a></li>
45      <li><a href="examples.html"><span>Examples</span></a></li>
46    </ul>
47  </div>
48  <div id="navrow2" class="tabs2">
49    <ul class="tablist">
50      <li><a href="files.html"><span>File&#160;List</span></a></li>
51    </ul>
52  </div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55  <div id="nav-tree">
56    <div id="nav-tree-contents">
57      <div id="nav-sync" class="sync"></div>
58    </div>
59  </div>
60  <div id="splitbar" style="-moz-user-select:none;"
61       class="ui-resizable-handle">
62  </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('segment_8hpp_source.html','');});
66</script>
67<div id="doc-content">
68<div class="header">
69  <div class="headertitle">
70<div class="title">segment.hpp</div>  </div>
71</div><!--header-->
72<div class="contents">
73<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
74<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)</span></div>
75<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//</span></div>
76<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//  Distributed under the Boost Software License, Version 1.0. (See</span></div>
77<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  accompanying file LICENSE_1_0.txt or copy at</span></div>
78<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  http://www.boost.org/LICENSE_1_0.txt)</span></div>
79<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
80<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef BOOST_LOCALE_BOUNDARY_SEGMENT_HPP_INCLUDED</span></div>
81<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define BOOST_LOCALE_BOUNDARY_SEGMENT_HPP_INCLUDED</span></div>
82<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;boost/locale/config.hpp&gt;</span></div>
83<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifdef BOOST_MSVC</span></div>
84<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  pragma warning(push)</span></div>
85<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#  pragma warning(disable : 4275 4251 4231 4660)</span></div>
86<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
87<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;locale&gt;</span></div>
88<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
89<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div>
90<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;iterator&gt;</span></div>
91<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
92<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
93<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">namespace </span>boost {</div>
94<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">namespace </span>locale {</div>
95<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">namespace </span>boundary {</div>
96<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <span class="keyword">namespace </span>details {</div>
97<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <span class="keyword">template</span>&lt;<span class="keyword">typename</span> LeftIterator,<span class="keyword">typename</span> RightIterator&gt;</div>
98<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <span class="keywordtype">int</span> compare_text(LeftIterator l_begin,LeftIterator l_end,RightIterator r_begin,RightIterator r_end)</div>
99<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        {</div>
100<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;            <span class="keyword">typedef</span> LeftIterator left_iterator;</div>
101<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;            <span class="keyword">typedef</span> <span class="keyword">typename</span> std::iterator_traits&lt;left_iterator&gt;::value_type char_type;</div>
102<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            <span class="keyword">typedef</span> std::char_traits&lt;char_type&gt; traits;</div>
103<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;            <span class="keywordflow">while</span>(l_begin!=l_end &amp;&amp; r_begin!=r_end) {</div>
104<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;                char_type lchar = *l_begin++;</div>
105<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;                char_type rchar = *r_begin++;</div>
106<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;                <span class="keywordflow">if</span>(traits::eq(lchar,rchar))</div>
107<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;                    <span class="keywordflow">continue</span>;</div>
108<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;                <span class="keywordflow">if</span>(traits::lt(lchar,rchar))</div>
109<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                    <span class="keywordflow">return</span> -1;</div>
110<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;                <span class="keywordflow">else</span></div>
111<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;                    <span class="keywordflow">return</span> 1;</div>
112<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            }</div>
113<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            <span class="keywordflow">if</span>(l_begin==l_end &amp;&amp; r_begin==r_end)</div>
114<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;                <span class="keywordflow">return</span> 0;</div>
115<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            <span class="keywordflow">if</span>(l_begin==l_end)</div>
116<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;                <span class="keywordflow">return</span> -1;</div>
117<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;            <span class="keywordflow">else</span></div>
118<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;                <span class="keywordflow">return</span> 1;</div>
119<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        }</div>
120<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
121<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
122<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Left,<span class="keyword">typename</span> Right&gt;</div>
123<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordtype">int</span> compare_text(Left <span class="keyword">const</span> &amp;l,Right <span class="keyword">const</span> &amp;r)</div>
124<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        {</div>
125<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            <span class="keywordflow">return</span> compare_text(l.begin(),l.end(),r.begin(),r.end());</div>
126<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        }</div>
127<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        </div>
128<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Left,<span class="keyword">typename</span> Char&gt;</div>
129<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="keywordtype">int</span> compare_string(Left <span class="keyword">const</span> &amp;l,Char <span class="keyword">const</span> *begin)</div>
130<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        {</div>
131<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            Char <span class="keyword">const</span> *end = begin;</div>
132<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;            <span class="keywordflow">while</span>(*end!=0)</div>
133<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                end++;</div>
134<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;            <span class="keywordflow">return</span> compare_text(l.begin(),l.end(),begin,end);</div>
135<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        }</div>
136<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
137<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Right,<span class="keyword">typename</span> Char&gt;</div>
138<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordtype">int</span> compare_string(Char <span class="keyword">const</span> *begin,Right <span class="keyword">const</span> &amp;r)</div>
139<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        {</div>
140<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;            Char <span class="keyword">const</span> *end = begin;</div>
141<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;            <span class="keywordflow">while</span>(*end!=0)</div>
142<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;                end++;</div>
143<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;            <span class="keywordflow">return</span> compare_text(begin,end,r.begin(),r.end());</div>
144<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        }</div>
145<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
146<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    }</div>
147<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div>
148<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
149<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorType&gt;</div>
150<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html">  102</a></span>&#160;    <span class="keyword">class </span><a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment</a> : <span class="keyword">public</span> std::pair&lt;IteratorType,IteratorType&gt; {</div>
151<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keyword">public</span>:</div>
152<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">  107</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">typename</span> std::iterator_traits&lt;IteratorType&gt;::value_type <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">char_type</a>;</div>
153<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">  111</a></span>&#160;        <span class="keyword">typedef</span> std::basic_string&lt;char_type&gt; <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type</a>;</div>
154<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">  115</a></span>&#160;        <span class="keyword">typedef</span> char_type <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">value_type</a>;</div>
155<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">  119</a></span>&#160;        <span class="keyword">typedef</span> IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a>;</div>
156<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">  123</a></span>&#160;        <span class="keyword">typedef</span> IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">const_iterator</a>;</div>
157<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">  127</a></span>&#160;        <span class="keyword">typedef</span> <span class="keyword">typename</span> std::iterator_traits&lt;IteratorType&gt;::difference_type <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">difference_type</a>;</div>
158<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
159<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5">  132</a></span>&#160;        <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5">segment</a>() {}</div>
160<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7">  136</a></span>&#160;        <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7">segment</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> b,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> e,<a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> r) :</div>
161<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;            std::pair&lt;IteratorType,IteratorType&gt;(b,e),</div>
162<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            rule_(r)</div>
163<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        {</div>
164<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        }</div>
165<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">  144</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">begin</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> <span class="keyword">const</span> &amp;v)</div>
166<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        {</div>
167<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            this-&gt;first = v;</div>
168<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        }</div>
169<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">  151</a></span>&#160;         <span class="keywordtype">void</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">end</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">iterator</a> <span class="keyword">const</span> &amp;v)</div>
170<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        {</div>
171<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;            this-&gt;second = v;</div>
172<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        }</div>
173<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div>
174<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">  159</a></span>&#160;        IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>()<span class="keyword"> const </span></div>
175<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="keyword">        </span>{</div>
176<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            <span class="keywordflow">return</span> this-&gt;first;</div>
177<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;        }</div>
178<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">  166</a></span>&#160;        IteratorType <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>()<span class="keyword"> const</span></div>
179<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keyword">        </span>{</div>
180<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;            <span class="keywordflow">return</span> this-&gt;second;</div>
181<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;        }</div>
182<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div>
183<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keyword">template</span> &lt;<span class="keyword">class</span> T, <span class="keyword">class</span> A&gt;</div>
184<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5230094b346bd26dc83529b47ca97153">  175</a></span>&#160;        <span class="keyword">operator</span> std::basic_string&lt;char_type, T, A&gt; ()<span class="keyword">const</span></div>
185<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;        {</div>
186<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;            <span class="keywordflow">return</span> std::basic_string&lt;char_type, T, A&gt;(this-&gt;first, this-&gt;second);</div>
187<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        }</div>
188<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        </div>
189<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf">  183</a></span>&#160;        <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type</a> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf">str</a>()<span class="keyword"> const</span></div>
190<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="keyword">        </span>{</div>
191<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">string_type</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>(),<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>());</div>
192<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        }</div>
193<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div>
194<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
195<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438">  192</a></span>&#160;        <span class="keywordtype">size_t</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438">length</a>()<span class="keyword"> const</span></div>
196<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="keyword">        </span>{</div>
197<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;            <span class="keywordflow">return</span> std::distance(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>(),<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>());</div>
198<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        }</div>
199<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
200<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f">  200</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f">empty</a>()<span class="keyword"> const</span></div>
201<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="keyword">        </span>{</div>
202<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">begin</a>() == <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">end</a>();</div>
203<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        }</div>
204<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div>
205<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">  208</a></span>&#160;        <a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">rule</a>()<span class="keyword"> const</span></div>
206<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="keyword">        </span>{</div>
207<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;            <span class="keywordflow">return</span> rule_;</div>
208<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        }</div>
209<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a">  215</a></span>&#160;        <span class="keywordtype">void</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a">rule</a>(<a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> r)</div>
210<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        {</div>
211<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            rule_ = r;</div>
212<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        }</div>
213<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div>
214<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="comment">// make sure we override std::pair&#39;s operator==</span></div>
215<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div>
216<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057">  223</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment</a> <span class="keyword">const</span> &amp;other)</div>
217<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        {</div>
218<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;            <span class="keywordflow">return</span> details::compare_text(*<span class="keyword">this</span>,other) == 0;</div>
219<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        }</div>
220<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div>
221<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3">  229</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment</a> <span class="keyword">const</span> &amp;other)</div>
222<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        {</div>
223<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;            <span class="keywordflow">return</span> details::compare_text(*<span class="keyword">this</span>,other) != 0;</div>
224<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        }</div>
225<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div>
226<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keyword">private</span>:</div>
227<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <a class="code" href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">rule_type</a> rule_;</div>
228<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;       </div>
229<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    };</div>
230<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
231<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;   </div>
232<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR&gt;</div>
233<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5e70e909a5fb4d2cf87b485894c9b4db">  242</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorL&gt;</a> <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
234<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    {</div>
235<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) == 0; </div>
236<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    }</div>
237<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR&gt;</div>
238<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="group__boundary.html#gae4458cb23aa62b0f94396d3300e838f9">  248</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorL&gt;</a> <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
239<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    {</div>
240<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) != 0; </div>
241<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    }</div>
242<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div>
243<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR&gt;</div>
244<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="group__boundary.html#ga01671fcf3519166189dff3664f68c870">  255</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;(segment&lt;IteratorL&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
245<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    {</div>
246<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &lt; 0; </div>
247<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    }</div>
248<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR&gt;</div>
249<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="group__boundary.html#gaef3ac4dbd5172a67ec68e27fe6a7a008">  261</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;=(segment&lt;IteratorL&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
250<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    {</div>
251<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &lt;= 0; </div>
252<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    }</div>
253<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR&gt;</div>
254<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">  267</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator&gt;</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorL&gt;</a> <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
255<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    {</div>
256<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &gt; 0; </div>
257<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    }</div>
258<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> IteratorL,<span class="keyword">typename</span> IteratorR&gt;</div>
259<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">  273</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator&gt;=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorL&gt;</a> <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
260<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    {</div>
261<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &gt;= 0; </div>
262<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    }</div>
263<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div>
264<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR&gt;</div>
265<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="group__boundary.html#ga22e4d38b1dd21bd663847fdbc09fca46">  280</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
266<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;    {</div>
267<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) == 0; </div>
268<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    }</div>
269<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR&gt;</div>
270<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="group__boundary.html#gabb7b2978a45e993d6aa9922cbc381e8b">  286</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
271<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;    {</div>
272<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) != 0; </div>
273<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    }</div>
274<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;</div>
275<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR&gt;</div>
276<div class="line"><a name="l00293"></a><span class="lineno"><a class="line" href="group__boundary.html#gac57b915b6feed86f731424c5a5ed531c">  293</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;(std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
277<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    {</div>
278<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &lt; 0; </div>
279<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    }</div>
280<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR&gt;</div>
281<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="group__boundary.html#gaec0814b0634157834f1ecd949ea4f935">  299</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;=(std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
282<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    {</div>
283<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &lt;= 0; </div>
284<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    }</div>
285<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR&gt;</div>
286<div class="line"><a name="l00305"></a><span class="lineno"><a class="line" href="group__boundary.html#gad19346448d1464f02f706a3d90932837">  305</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator&gt;</a>(std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
287<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;    {</div>
288<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &gt; 0; </div>
289<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    }</div>
290<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc,<span class="keyword">typename</span> IteratorR&gt;</div>
291<div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="group__boundary.html#ga48fc6bd37670c164d9fcdf918d20ab9f">  311</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator&gt;=</a>(std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
292<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    {</div>
293<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &gt;= 0; </div>
294<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    }</div>
295<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;</div>
296<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc&gt;</div>
297<div class="line"><a name="l00318"></a><span class="lineno"><a class="line" href="group__boundary.html#ga1e22ac8a99d4e743942c5d6e94270e27">  318</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;r)</div>
298<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    {</div>
299<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) == 0; </div>
300<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    }</div>
301<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc&gt;</div>
302<div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="group__boundary.html#gab36f95a4500a4c2a31b2ece4a0ae9cd1">  324</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;r)</div>
303<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    {</div>
304<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) != 0; </div>
305<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    }</div>
306<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div>
307<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc&gt;</div>
308<div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="group__boundary.html#gabf992487402ed47358bf790a6372059d">  331</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;(segment&lt;Iterator&gt; <span class="keyword">const</span> &amp;l,std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;r)</div>
309<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;    {</div>
310<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &lt; 0; </div>
311<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    }</div>
312<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc&gt;</div>
313<div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="group__boundary.html#gab800ff341ec09a99c803dd5fd56e5a81">  337</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;=(segment&lt;Iterator&gt; <span class="keyword">const</span> &amp;l,std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;r)</div>
314<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    {</div>
315<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &lt;= 0; </div>
316<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    }</div>
317<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc&gt;</div>
318<div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="group__boundary.html#gaf32c4f420aae266e1d6d4b37e716cc30">  343</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator&gt;</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;r)</div>
319<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    {</div>
320<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &gt; 0; </div>
321<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    }</div>
322<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> Traits,<span class="keyword">typename</span> Alloc&gt;</div>
323<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="group__boundary.html#gadfbbd6c86914627ffdc08397023b020a">  349</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator&gt;=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,std::basic_string&lt;CharType,Traits,Alloc&gt; <span class="keyword">const</span> &amp;r)</div>
324<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    {</div>
325<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        <span class="keywordflow">return</span> details::compare_text(l,r) &gt;= 0; </div>
326<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;    }</div>
327<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div>
328<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div>
329<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR&gt;</div>
330<div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="group__boundary.html#ga04c0513778ff3cf9712dd03244a7ecb3">  357</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
331<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    {</div>
332<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) == 0; </div>
333<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    }</div>
334<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR&gt;</div>
335<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="group__boundary.html#gab8256de904b797b2a57905d3a53f87d7">  363</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
336<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    {</div>
337<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) != 0; </div>
338<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    }</div>
339<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;</div>
340<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR&gt;</div>
341<div class="line"><a name="l00370"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5d3bf0c32d4deefe23fa474960b0dea6">  370</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;(CharType const *l,segment&lt;IteratorR&gt; <span class="keyword">const</span> &amp;r)</div>
342<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    {</div>
343<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &lt; 0; </div>
344<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    }</div>
345<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR&gt;</div>
346<div class="line"><a name="l00376"></a><span class="lineno"><a class="line" href="group__boundary.html#gad8fc1bd6bf20fe5337dd91dab7f9084c">  376</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;=(CharType const *l,segment&lt;IteratorR&gt; <span class="keyword">const</span> &amp;r)</div>
347<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;    {</div>
348<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &lt;= 0; </div>
349<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;    }</div>
350<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR&gt;</div>
351<div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="group__boundary.html#gaa79f6bb9e721e55d071d7898a3010f8e">  382</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator&gt;</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
352<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;    {</div>
353<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &gt; 0; </div>
354<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;    }</div>
355<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> IteratorR&gt;</div>
356<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="group__boundary.html#ga4fb2d214673569bf63a5ef97847d8bc3">  388</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator&gt;=</a>(CharType <span class="keyword">const</span> *l,<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;IteratorR&gt;</a> <span class="keyword">const</span> &amp;r)</div>
357<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    {</div>
358<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &gt;= 0; </div>
359<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    }</div>
360<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;</div>
361<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType&gt;</div>
362<div class="line"><a name="l00395"></a><span class="lineno"><a class="line" href="group__boundary.html#ga2aa32c6dabd5833c3f4806a7a40c0808">  395</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">operator==</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,CharType <span class="keyword">const</span> *r)</div>
363<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    {</div>
364<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) == 0; </div>
365<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    }</div>
366<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType&gt;</div>
367<div class="line"><a name="l00401"></a><span class="lineno"><a class="line" href="group__boundary.html#gaf50154c65385afc65e206b5fa34fc4ac">  401</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">operator!=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,CharType <span class="keyword">const</span> *r)</div>
368<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    {</div>
369<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) != 0; </div>
370<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    }</div>
371<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;</div>
372<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType&gt;</div>
373<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="group__boundary.html#gad4be80936d6d852d8a07322ea46c49dd">  408</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;(segment&lt;Iterator&gt; <span class="keyword">const</span> &amp;l,CharType <span class="keyword">const</span> *r)</div>
374<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;    {</div>
375<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &lt; 0; </div>
376<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    }</div>
377<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType&gt;</div>
378<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="group__boundary.html#ga1f813e25280a6165cc270ced46bc8c58">  414</a></span>&#160;    <span class="keywordtype">bool</span> operator&lt;=(segment&lt;Iterator&gt; <span class="keyword">const</span> &amp;l,CharType <span class="keyword">const</span> *r)</div>
379<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    {</div>
380<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &lt;= 0; </div>
381<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    }</div>
382<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType&gt;</div>
383<div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="group__boundary.html#ga4b12a40f6e30c03e064973a66f8697b8">  420</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">operator&gt;</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,CharType <span class="keyword">const</span> *r)</div>
384<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    {</div>
385<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &gt; 0; </div>
386<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    }</div>
387<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Iterator,<span class="keyword">typename</span> CharType&gt;</div>
388<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="group__boundary.html#gae867939516d7fd9cbca258414a0c8377">  426</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">operator&gt;=</a>(<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;l,CharType <span class="keyword">const</span> *r)</div>
389<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    {</div>
390<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;        <span class="keywordflow">return</span> details::compare_string(l,r) &gt;= 0; </div>
391<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    }</div>
392<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;</div>
393<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div>
394<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div>
395<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div>
396<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;</div>
397<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;</div>
398<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="group__boundary.html#gaac5031c17bd3f7ddc5138546af121064">  436</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;std::string::const_iterator&gt;</a> <a class="code" href="group__boundary.html#gaac5031c17bd3f7ddc5138546af121064">ssegment</a>;      </div>
399<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="group__boundary.html#gaca0e28d417ee314f3035c7561ed5134a">  437</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;std::wstring::const_iterator&gt;</a> <a class="code" href="group__boundary.html#gaca0e28d417ee314f3035c7561ed5134a">wssegment</a>;    </div>
400<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;<span class="preprocessor">    #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
401<div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5084d9529f752361d18c2196f38df3c0">  439</a></span>&#160;<span class="preprocessor"></span>    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;std::u16string::const_iterator&gt;</a> <a class="code" href="group__boundary.html#ga5084d9529f752361d18c2196f38df3c0">u16ssegment</a>;</div>
402<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;<span class="preprocessor">    #endif</span></div>
403<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;<span class="preprocessor"></span><span class="preprocessor">    #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
404<div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="group__boundary.html#gaffcc722694a39291a9ea7f68a95e1e27">  442</a></span>&#160;<span class="preprocessor"></span>    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;std::u32string::const_iterator&gt;</a> <a class="code" href="group__boundary.html#gaffcc722694a39291a9ea7f68a95e1e27">u32ssegment</a>;</div>
405<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;<span class="preprocessor">    #endif</span></div>
406<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;<span class="preprocessor"></span>   </div>
407<div class="line"><a name="l00445"></a><span class="lineno"><a class="line" href="group__boundary.html#ga7a89ba0de6cad23a0f1b0b90ca5296f0">  445</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;char const *&gt;</a> <a class="code" href="group__boundary.html#ga7a89ba0de6cad23a0f1b0b90ca5296f0">csegment</a>;                     </div>
408<div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="group__boundary.html#gab9d26aae843dad891a3bfa736871e843">  446</a></span>&#160;    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;wchar_t const *&gt;</a> <a class="code" href="group__boundary.html#gab9d26aae843dad891a3bfa736871e843">wcsegment</a>;                 </div>
409<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;<span class="preprocessor">    #ifdef BOOST_LOCALE_ENABLE_CHAR16_T</span></div>
410<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="group__boundary.html#ga5ff9e98f81ad61dbcd480fc61780fee1">  448</a></span>&#160;<span class="preprocessor"></span>    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;char16_t const *&gt;</a> <a class="code" href="group__boundary.html#ga5ff9e98f81ad61dbcd480fc61780fee1">u16csegment</a>;              </div>
411<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="preprocessor">    #endif</span></div>
412<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="preprocessor"></span><span class="preprocessor">    #ifdef BOOST_LOCALE_ENABLE_CHAR32_T</span></div>
413<div class="line"><a name="l00451"></a><span class="lineno"><a class="line" href="group__boundary.html#gaf2077b28c5de700fb5bff9688fe410d6">  451</a></span>&#160;<span class="preprocessor"></span>    <span class="keyword">typedef</span> <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;char32_t const *&gt;</a> <a class="code" href="group__boundary.html#gaf2077b28c5de700fb5bff9688fe410d6">u32csegment</a>;              </div>
414<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;<span class="preprocessor">    #endif</span></div>
415<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;<span class="preprocessor"></span></div>
416<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div>
417<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div>
418<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160; </div>
419<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;    </div>
420<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;    <span class="keyword">template</span>&lt;<span class="keyword">typename</span> CharType,<span class="keyword">typename</span> TraitsType,<span class="keyword">typename</span> Iterator&gt;</div>
421<div class="line"><a name="l00462"></a><span class="lineno"><a class="line" href="group__boundary.html#ga66d8f6c9b1c81c36a55aecebd4960b5d">  462</a></span>&#160;    std::basic_ostream&lt;CharType,TraitsType&gt; &amp;<a class="code" href="group__boundary.html#ga66d8f6c9b1c81c36a55aecebd4960b5d">operator&lt;&lt;</a>(</div>
422<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;            std::basic_ostream&lt;CharType,TraitsType&gt; &amp;out,</div>
423<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;            <a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html">segment&lt;Iterator&gt;</a> <span class="keyword">const</span> &amp;tok)</div>
424<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;    {</div>
425<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;        <span class="keywordflow">for</span>(Iterator p=tok.<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">begin</a>(),e=tok.<a class="code" href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">end</a>();p!=e;++p)</div>
426<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;            out &lt;&lt; *p;</div>
427<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;        <span class="keywordflow">return</span> out;</div>
428<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    }</div>
429<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;</div>
430<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;</div>
431<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;} <span class="comment">// boundary</span></div>
432<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;} <span class="comment">// locale</span></div>
433<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;} <span class="comment">// boost</span></div>
434<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;</div>
435<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;<span class="preprocessor">#ifdef BOOST_MSVC</span></div>
436<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#pragma warning(pop)</span></div>
437<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
438<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;<span class="preprocessor"></span></div>
439<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;<span class="preprocessor">#endif</span></div>
440<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;<span class="preprocessor"></span></div>
441<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;<span class="comment">// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4</span></div>
442<div class="ttc" id="group__boundary_html_ga7a89ba0de6cad23a0f1b0b90ca5296f0"><div class="ttname"><a href="group__boundary.html#ga7a89ba0de6cad23a0f1b0b90ca5296f0">boost::locale::boundary::csegment</a></div><div class="ttdeci">segment&lt; char const * &gt; csegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:445</div></div>
443<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_ad3785355ea817c087bf428315a332169"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#ad3785355ea817c087bf428315a332169">boost::locale::boundary::segment::char_type</a></div><div class="ttdeci">std::iterator_traits&lt; IteratorType &gt;::value_type char_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:107</div></div>
444<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_aea72505bb4940b21bb00a3660fefb7b7"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#aea72505bb4940b21bb00a3660fefb7b7">boost::locale::boundary::segment::segment</a></div><div class="ttdeci">segment(iterator b, iterator e, rule_type r)</div><div class="ttdef"><b>Definition:</b> segment.hpp:136</div></div>
445<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html">boost::locale::boundary::segment</a></div><div class="ttdoc">a segment object that represents a pair of two iterators that define the range where this segment exi...</div><div class="ttdef"><b>Definition:</b> segment.hpp:102</div></div>
446<div class="ttc" id="group__boundary_html_gab9d26aae843dad891a3bfa736871e843"><div class="ttname"><a href="group__boundary.html#gab9d26aae843dad891a3bfa736871e843">boost::locale::boundary::wcsegment</a></div><div class="ttdeci">segment&lt; wchar_t const * &gt; wcsegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:446</div></div>
447<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a7e36b7f1c88ad1f5756ba6e501454bc4"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a7e36b7f1c88ad1f5756ba6e501454bc4">boost::locale::boundary::segment::end</a></div><div class="ttdeci">IteratorType end() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:166</div></div>
448<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a9a30e70d41591b25c8c77961bff00057"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a9a30e70d41591b25c8c77961bff00057">boost::locale::boundary::segment::operator==</a></div><div class="ttdeci">bool operator==(segment const &amp;other)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:223</div></div>
449<div class="ttc" id="group__boundary_html_ga5ff9e98f81ad61dbcd480fc61780fee1"><div class="ttname"><a href="group__boundary.html#ga5ff9e98f81ad61dbcd480fc61780fee1">boost::locale::boundary::u16csegment</a></div><div class="ttdeci">segment&lt; char16_t const * &gt; u16csegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:448</div></div>
450<div class="ttc" id="group__boundary_html_ga5084d9529f752361d18c2196f38df3c0"><div class="ttname"><a href="group__boundary.html#ga5084d9529f752361d18c2196f38df3c0">boost::locale::boundary::u16ssegment</a></div><div class="ttdeci">segment&lt; std::u16string::const_iterator &gt; u16ssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:439</div></div>
451<div class="ttc" id="group__boundary_html_gaac5031c17bd3f7ddc5138546af121064"><div class="ttname"><a href="group__boundary.html#gaac5031c17bd3f7ddc5138546af121064">boost::locale::boundary::ssegment</a></div><div class="ttdeci">segment&lt; std::string::const_iterator &gt; ssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:436</div></div>
452<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a795d3328ac4d1692294f172c8480da47"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a795d3328ac4d1692294f172c8480da47">boost::locale::boundary::segment::string_type</a></div><div class="ttdeci">std::basic_string&lt; char_type &gt; string_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:111</div></div>
453<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_ac139eae8c07ed82ba8343fedfa76c2bf"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#ac139eae8c07ed82ba8343fedfa76c2bf">boost::locale::boundary::segment::str</a></div><div class="ttdeci">string_type str() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:183</div></div>
454<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a84022afa120893d0716fc446816eb83f"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a84022afa120893d0716fc446816eb83f">boost::locale::boundary::segment::empty</a></div><div class="ttdeci">bool empty() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:200</div></div>
455<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a2e38c575af16843a3aa140a4332646a3"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a2e38c575af16843a3aa140a4332646a3">boost::locale::boundary::segment::operator!=</a></div><div class="ttdeci">bool operator!=(segment const &amp;other)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:229</div></div>
456<div class="ttc" id="group__boundary_html_ga25e193c81052ef1795f1b53b46bc2095"><div class="ttname"><a href="group__boundary.html#ga25e193c81052ef1795f1b53b46bc2095">boost::locale::boundary::rule_type</a></div><div class="ttdeci">uint32_t rule_type</div><div class="ttdoc">Flags used with word boundary analysis – the type of the word, line or sentence boundary found...</div><div class="ttdef"><b>Definition:</b> types.hpp:51</div></div>
457<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a962c26b7e2024767ad25f2be080fd53a"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a962c26b7e2024767ad25f2be080fd53a">boost::locale::boundary::segment::rule</a></div><div class="ttdeci">void rule(rule_type r)</div><div class="ttdef"><b>Definition:</b> segment.hpp:215</div></div>
458<div class="ttc" id="group__boundary_html_ga4d9854493e000ea610108d4689d2f6f1"><div class="ttname"><a href="group__boundary.html#ga4d9854493e000ea610108d4689d2f6f1">boost::locale::boundary::operator&gt;=</a></div><div class="ttdeci">bool operator&gt;=(segment&lt; IteratorL &gt; const &amp;l, segment&lt; IteratorR &gt; const &amp;r)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:273</div></div>
459<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_ab7ba55015262b4fb85bb531882a32ead"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#ab7ba55015262b4fb85bb531882a32ead">boost::locale::boundary::segment::value_type</a></div><div class="ttdeci">char_type value_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:115</div></div>
460<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a5b36a522d7013306617dbcccc9919343"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a5b36a522d7013306617dbcccc9919343">boost::locale::boundary::segment::rule</a></div><div class="ttdeci">rule_type rule() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:208</div></div>
461<div class="ttc" id="group__boundary_html_ga47bc5ece5c461aa4c538354a9e80a707"><div class="ttname"><a href="group__boundary.html#ga47bc5ece5c461aa4c538354a9e80a707">boost::locale::boundary::operator==</a></div><div class="ttdeci">bool operator==(BaseIterator const &amp;l, boundary_point&lt; BaseIterator &gt; const &amp;r)</div><div class="ttdef"><b>Definition:</b> boundary_point.hpp:142</div></div>
462<div class="ttc" id="group__boundary_html_ga66d8f6c9b1c81c36a55aecebd4960b5d"><div class="ttname"><a href="group__boundary.html#ga66d8f6c9b1c81c36a55aecebd4960b5d">boost::locale::boundary::operator&lt;&lt;</a></div><div class="ttdeci">std::basic_ostream&lt; CharType, TraitsType &gt; &amp; operator&lt;&lt;(std::basic_ostream&lt; CharType, TraitsType &gt; &amp;out, segment&lt; Iterator &gt; const &amp;tok)</div><div class="ttdef"><b>Definition:</b> segment.hpp:462</div></div>
463<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a445da30d993880a1bd6d998e78755a44"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a445da30d993880a1bd6d998e78755a44">boost::locale::boundary::segment::begin</a></div><div class="ttdeci">IteratorType begin() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:159</div></div>
464<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_aa24dcd83aefe4925bfc11b0285e2517a"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#aa24dcd83aefe4925bfc11b0285e2517a">boost::locale::boundary::segment::const_iterator</a></div><div class="ttdeci">IteratorType const_iterator</div><div class="ttdef"><b>Definition:</b> segment.hpp:123</div></div>
465<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a5428ff79bc05b78989f56519b58a6d9c"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a5428ff79bc05b78989f56519b58a6d9c">boost::locale::boundary::segment::begin</a></div><div class="ttdeci">void begin(iterator const &amp;v)</div><div class="ttdef"><b>Definition:</b> segment.hpp:144</div></div>
466<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a4e785bc97dba9e8e25f18b43957723e5"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a4e785bc97dba9e8e25f18b43957723e5">boost::locale::boundary::segment::segment</a></div><div class="ttdeci">segment()</div><div class="ttdef"><b>Definition:</b> segment.hpp:132</div></div>
467<div class="ttc" id="group__boundary_html_gaca0e28d417ee314f3035c7561ed5134a"><div class="ttname"><a href="group__boundary.html#gaca0e28d417ee314f3035c7561ed5134a">boost::locale::boundary::wssegment</a></div><div class="ttdeci">segment&lt; std::wstring::const_iterator &gt; wssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:437</div></div>
468<div class="ttc" id="group__boundary_html_gaffcc722694a39291a9ea7f68a95e1e27"><div class="ttname"><a href="group__boundary.html#gaffcc722694a39291a9ea7f68a95e1e27">boost::locale::boundary::u32ssegment</a></div><div class="ttdeci">segment&lt; std::u32string::const_iterator &gt; u32ssegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:442</div></div>
469<div class="ttc" id="group__boundary_html_gaf2077b28c5de700fb5bff9688fe410d6"><div class="ttname"><a href="group__boundary.html#gaf2077b28c5de700fb5bff9688fe410d6">boost::locale::boundary::u32csegment</a></div><div class="ttdeci">segment&lt; char32_t const * &gt; u32csegment</div><div class="ttdoc">convenience typedef </div><div class="ttdef"><b>Definition:</b> segment.hpp:451</div></div>
470<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_aaedd7bb4760bae3dcdb165b330806261"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#aaedd7bb4760bae3dcdb165b330806261">boost::locale::boundary::segment::end</a></div><div class="ttdeci">void end(iterator const &amp;v)</div><div class="ttdef"><b>Definition:</b> segment.hpp:151</div></div>
471<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a31960fd7b416715d012b686bc1f2c205"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a31960fd7b416715d012b686bc1f2c205">boost::locale::boundary::segment::iterator</a></div><div class="ttdeci">IteratorType iterator</div><div class="ttdef"><b>Definition:</b> segment.hpp:119</div></div>
472<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a45edfde079b2afe36c55043c7a00b438"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a45edfde079b2afe36c55043c7a00b438">boost::locale::boundary::segment::length</a></div><div class="ttdeci">size_t length() const </div><div class="ttdef"><b>Definition:</b> segment.hpp:192</div></div>
473<div class="ttc" id="group__boundary_html_ga458e3170d3967ae25c4a40a3970701ba"><div class="ttname"><a href="group__boundary.html#ga458e3170d3967ae25c4a40a3970701ba">boost::locale::boundary::operator&gt;</a></div><div class="ttdeci">bool operator&gt;(segment&lt; IteratorL &gt; const &amp;l, segment&lt; IteratorR &gt; const &amp;r)</div><div class="ttdoc">Compare two segments. </div><div class="ttdef"><b>Definition:</b> segment.hpp:267</div></div>
474<div class="ttc" id="classboost_1_1locale_1_1boundary_1_1segment_html_a79ee4d48248ffbc23f84a33355ca3b62"><div class="ttname"><a href="classboost_1_1locale_1_1boundary_1_1segment.html#a79ee4d48248ffbc23f84a33355ca3b62">boost::locale::boundary::segment::difference_type</a></div><div class="ttdeci">std::iterator_traits&lt; IteratorType &gt;::difference_type difference_type</div><div class="ttdef"><b>Definition:</b> segment.hpp:127</div></div>
475<div class="ttc" id="group__boundary_html_gab92086846a31a6826c00a3df90027f0f"><div class="ttname"><a href="group__boundary.html#gab92086846a31a6826c00a3df90027f0f">boost::locale::boundary::operator!=</a></div><div class="ttdeci">bool operator!=(BaseIterator const &amp;l, boundary_point&lt; BaseIterator &gt; const &amp;r)</div><div class="ttdef"><b>Definition:</b> boundary_point.hpp:150</div></div>
476</div><!-- fragment --></div><!-- contents -->
477</div><!-- doc-content -->
478
479    <li class="footer">
480&copy; Copyright 2009-2012 Artyom Beilis,  Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
481    </li>
482   </ul>
483 </div>
484</body>
485</html>
486