3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
4 <title>Symmetric Difference
</title>
5 <link rel=
"stylesheet" href=
"../../../../../../doc/src/boostbook.css" type=
"text/css">
6 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.74.0">
7 <link rel=
"home" href=
"../../index.html" title=
"Chapter 1. Boost.Icl">
8 <link rel=
"up" href=
"../function_reference.html" title=
"Function Reference">
9 <link rel=
"prev" href=
"intersection.html" title=
"Intersection">
10 <link rel=
"next" href=
"iterator_related.html" title=
"Iterator related">
12 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF">
13 <table cellpadding=
"2" width=
"100%"><tr>
14 <td valign=
"top"><img alt=
"Boost C++ Libraries" width=
"277" height=
"86" src=
"../../../../../../boost.png"></td>
15 <td align=
"center"><a href=
"../../../../../../index.html">Home
</a></td>
16 <td align=
"center"><a href=
"../../../../../libraries.htm">Libraries
</a></td>
17 <td align=
"center"><a href=
"http://www.boost.org/users/people.html">People
</a></td>
18 <td align=
"center"><a href=
"http://www.boost.org/users/faq.html">FAQ
</a></td>
19 <td align=
"center"><a href=
"../../../../../../more/index.htm">More
</a></td>
22 <div class=
"spirit-nav">
23 <a accesskey=
"p" href=
"intersection.html"><img src=
"../../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../function_reference.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=
"iterator_related.html"><img src=
"../../../../../../doc/src/images/next.png" alt=
"Next"></a>
25 <div class=
"section boost_icl_function_reference_symmetric_difference" lang=
"en">
26 <div class=
"titlepage"><div><div><h3 class=
"title">
27 <a name=
"boost_icl.function_reference.symmetric_difference"></a><a class=
"link" href=
"symmetric_difference.html" title=
"Symmetric Difference">Symmetric
29 </h3></div></div></div>
31 <dt><span class=
"section"><a href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.synopsis">Synopsis
</a></span></dt>
32 <dt><span class=
"section"><a href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.functions">Functions
</a></span></dt>
33 <dt><span class=
"section"><a href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.inplace_operators">Inplace
34 operators
</a></span></dt>
35 <dt><span class=
"section"><a href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.infix_operators">Infix
36 operators
</a></span></dt>
38 <div class=
"section boost_icl_function_reference_symmetric_difference_synopsis" lang=
"en">
39 <div class=
"titlepage"><div><div><h4 class=
"title">
40 <a name=
"boost_icl.function_reference.symmetric_difference.synopsis"></a><a class=
"link" href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.synopsis" title=
"Synopsis">Synopsis
</a>
41 </h4></div></div></div>
42 <div class=
"informaltable"><table class=
"table">
81 <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
82 <span class=
"identifier">T
</span><span class=
"special">::
</span><span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span></code>
87 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
88 <a class=
"link" href=
"../interface/function_synopsis.html#interval_type"><span class=
"bold"><strong>i
</strong></span></a>
93 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
94 <a class=
"link" href=
"../interface/function_synopsis.html#interval_mapping_type"><span class=
"bold"><strong>p
</strong></span></a>
103 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
110 <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
111 <span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span>
112 <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span></code>
117 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
118 <a class=
"link" href=
"../interface/function_synopsis.html#interval_type"><span class=
"bold"><strong>i
</strong></span></a>
123 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
124 <a class=
"link" href=
"../interface/function_synopsis.html#interval_mapping_type"><span class=
"bold"><strong>p
</strong></span></a>
129 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
134 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
141 <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
142 <span class=
"keyword">operator
</span> <span class=
"special">^=(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span>
143 <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span></code>
148 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
149 <a class=
"link" href=
"../interface/function_synopsis.html#interval_type"><span class=
"bold"><strong>i
</strong></span></a>
150 <a class=
"link" href=
"../interface/function_synopsis.html#interval_set_types"><span class=
"bold"><strong>S
</strong></span></a>
155 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
156 <a class=
"link" href=
"../interface/function_synopsis.html#interval_mapping_type"><span class=
"bold"><strong>p
</strong></span></a>
157 <a class=
"link" href=
"../interface/function_synopsis.html#interval_map_types"><span class=
"bold"><strong>M
</strong></span></a>
162 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
163 <a class=
"link" href=
"../interface/function_synopsis.html#itl_set_type"><span class=
"bold"><strong>s
</strong></span></a>
168 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
169 <a class=
"link" href=
"../interface/function_synopsis.html#itl_map_type"><span class=
"bold"><strong>m
</strong></span></a>
176 <code class=
"computeroutput"><span class=
"identifier">T
</span> <span class=
"keyword">operator
</span>
177 <span class=
"special">^
</span> <span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">,
</span>
178 <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span></code><br> <code class=
"computeroutput"><span class=
"identifier">T
</span>
179 <span class=
"keyword">operator
</span> <span class=
"special">^
</span>
180 <span class=
"special">(
</span><span class=
"keyword">const
</span>
181 <span class=
"identifier">P
</span><span class=
"special">&,
</span>
182 <span class=
"identifier">T
</span><span class=
"special">)
</span></code>
187 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
188 <a class=
"link" href=
"../interface/function_synopsis.html#interval_type"><span class=
"bold"><strong>i
</strong></span></a>
189 <a class=
"link" href=
"../interface/function_synopsis.html#interval_set_types"><span class=
"bold"><strong>S
</strong></span></a>
194 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
195 <a class=
"link" href=
"../interface/function_synopsis.html#interval_mapping_type"><span class=
"bold"><strong>p
</strong></span></a>
196 <a class=
"link" href=
"../interface/function_synopsis.html#interval_map_types"><span class=
"bold"><strong>M
</strong></span></a>
201 <a class=
"link" href=
"../interface/function_synopsis.html#element_type"><span class=
"bold"><strong>e
</strong></span></a>
202 <a class=
"link" href=
"../interface/function_synopsis.html#itl_set_type"><span class=
"bold"><strong>s
</strong></span></a>
207 <a class=
"link" href=
"../interface/function_synopsis.html#element_mapping_type"><span class=
"bold"><strong>b
</strong></span></a>
208 <a class=
"link" href=
"../interface/function_synopsis.html#itl_map_type"><span class=
"bold"><strong>m
</strong></span></a>
215 Functions and operators that implement
<span class=
"emphasis"><em><span class=
"bold"><strong>symmetric
216 difference
</strong></span></em></span> on
<span class=
"bold"><strong>icl
</strong></span>
217 objects are given in the table above.
219 <div class=
"informaltable"><table class=
"table">
231 Description of symmetric difference
239 <code class=
"computeroutput"><span class=
"identifier">Sets
</span></code>
244 <code class=
"computeroutput"><span class=
"keyword">operator
</span> <span class=
"special">^
</span></code>
245 implements
<span class=
"emphasis"><em><span class=
"bold"><strong>set symmetric difference
</strong></span></em></span>
252 <code class=
"computeroutput"><span class=
"identifier">Maps
</span></code>
257 <code class=
"computeroutput"><span class=
"keyword">operator
</span> <span class=
"special">^
</span></code>
258 implements a
<span class=
"emphasis"><em><span class=
"bold"><strong>map symmetric difference
</strong></span></em></span>
259 function similar to
<span class=
"emphasis"><em>set symmetric difference
</em></span>.
260 All pairs that are common to both arguments are removed. All others
268 <div class=
"section boost_icl_function_reference_symmetric_difference_functions" lang=
"en">
269 <div class=
"titlepage"><div><div><h4 class=
"title">
270 <a name=
"boost_icl.function_reference.symmetric_difference.functions"></a><a class=
"link" href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.functions" title=
"Functions">Functions
</a>
271 </h4></div></div></div>
273 <span class=
"emphasis"><em>Symmetric difference
</em></span> is implemented on interval containers
274 by the function
<code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
275 <span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span> <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&</span> <span class=
"identifier">operand
</span><span class=
"special">)
</span></code>.
280 <pre class=
"programlisting"><span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"identifier">y
</span><span class=
"special">,
</span><span class=
"identifier">x
</span><span class=
"special">)
</span>
285 deletes every element of
<code class=
"computeroutput"><span class=
"identifier">y
</span></code>,
286 if it is contained in
<code class=
"computeroutput"><span class=
"identifier">x
</span></code>.
287 Elements of
<code class=
"computeroutput"><span class=
"identifier">x
</span></code> not contained
288 in
<code class=
"computeroutput"><span class=
"identifier">y
</span></code> are added. For icl
289 containers flip is also availabel as memeber function
<code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"identifier">T
</span><span class=
"special">::
</span><span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&</span> <span class=
"identifier">operand
</span><span class=
"special">)
</span></code>.
292 The admissible combinations of types for member function
<code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"identifier">T
</span><span class=
"special">::
</span><span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span></code>
293 can be summarized in the
<span class=
"emphasis"><em><span class=
"bold"><strong>overload table
</strong></span></em></span>
299 <pre class=
"programlisting"><span class=
"comment">/* overload table for */
</span> <span class=
"identifier">T
</span><span class=
"special">\
</span><span class=
"identifier">P
</span><span class=
"special">|
</span> <span class=
"identifier">e
</span> <span class=
"identifier">i
</span> <span class=
"identifier">b
</span> <span class=
"identifier">p
</span>
300 <span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"identifier">T
</span><span class=
"special">::
</span><span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span> <span class=
"special">---+--------
</span>
301 <span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span> <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span> <span class=
"identifier">s
</span> <span class=
"special">|
</span> <span class=
"identifier">s
</span>
302 <span class=
"identifier">m
</span> <span class=
"special">|
</span> <span class=
"identifier">m
</span>
303 <span class=
"identifier">S
</span> <span class=
"special">|
</span> <span class=
"identifier">S
</span> <span class=
"identifier">S
</span>
304 <span class=
"identifier">M
</span> <span class=
"special">|
</span> <span class=
"identifier">M
</span> <span class=
"identifier">M
</span>
309 The next table contains complexity characteristics for functions
<code class=
"computeroutput"><span class=
"identifier">flip
</span></code>.
312 <a name=
"id1182273"></a><p class=
"title"><b>Table
 1.37.
 Time Complexity for member functions flip on icl
314 <div class=
"table-contents"><table class=
"table" summary=
"Time Complexity for member functions flip on icl
326 <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
327 <span class=
"identifier">T
</span><span class=
"special">::
</span><span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span></code><br> <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"identifier">flip
</span><span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span> <span class=
"keyword">const
</span>
328 <span class=
"identifier">P
</span><span class=
"special">&)
</span></code>
343 domain
<br> mapping
<br> type
348 interval
<br> mapping
<br> type
356 <a href=
"http://www.cplusplus.com/reference/stl/set/" target=
"_top"><code class=
"computeroutput"><span class=
"identifier">std
</span><span class=
"special">::
</span><span class=
"identifier">set
</span></code> </a>
361 <span class=
"emphasis"><em>O(log n)
</em></span>
380 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/map.html" title=
"Class template map">icl::map
</a></code>
393 <span class=
"emphasis"><em>O(log n)
</em></span>
404 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/interval_set.html" title=
"Class template interval_set">interval_set
</a></code><br>
405 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/separate_interval_set.html" title=
"Class template separate_interval_set">separate_interval_set
</a></code>
410 <span class=
"emphasis"><em>O(log n)
</em></span>
415 <span class=
"emphasis"><em>O(n)
</em></span>
430 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/split_interval_set.html" title=
"Class template split_interval_set">split_interval_set
</a></code>
435 <span class=
"emphasis"><em>O(log n)
</em></span>
440 <span class=
"emphasis"><em>O(n)
</em></span>
455 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/interval_map.html" title=
"Class template interval_map">interval_map
</a></code><br>
456 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/split_interval_map.html" title=
"Class template split_interval_map">split_interval_map
</a></code>
469 <span class=
"emphasis"><em>O(log n)
</em></span>
474 <span class=
"emphasis"><em>O(n)
</em></span>
481 <br class=
"table-break">
483 <div class=
"section boost_icl_function_reference_symmetric_difference_inplace_operators" lang=
"en">
484 <div class=
"titlepage"><div><div><h4 class=
"title">
485 <a name=
"boost_icl.function_reference.symmetric_difference.inplace_operators"></a><a class=
"link" href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.inplace_operators" title=
"Inplace operators">Inplace
487 </h4></div></div></div>
489 The overload tables below are giving admissible type combinations for
490 <code class=
"computeroutput"><span class=
"keyword">operator
</span> <span class=
"special">^=
</span></code>
491 that implements
<span class=
"emphasis"><em><span class=
"bold"><strong>symmetric difference
</strong></span></em></span>.
496 <pre class=
"programlisting"><span class=
"comment">// overload tables for element containers: interval containers:
497 </span><span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"keyword">operator
</span> <span class=
"special">^=
</span> <span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span> <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span> <span class=
"special">^=
</span> <span class=
"special">|
</span> <span class=
"identifier">e
</span> <span class=
"identifier">b
</span> <span class=
"identifier">s
</span> <span class=
"identifier">m
</span> <span class=
"special">^=
</span> <span class=
"special">|
</span> <span class=
"identifier">e
</span> <span class=
"identifier">i
</span> <span class=
"identifier">b
</span> <span class=
"identifier">p
</span> <span class=
"identifier">S
</span> <span class=
"identifier">M
</span>
498 <span class=
"special">---+--------
</span> <span class=
"special">---+------------
</span>
499 <span class=
"identifier">s
</span> <span class=
"special">|
</span> <span class=
"identifier">s
</span> <span class=
"identifier">s
</span> <span class=
"identifier">S
</span> <span class=
"special">|
</span> <span class=
"identifier">S
</span> <span class=
"identifier">S
</span> <span class=
"identifier">S
</span>
500 <span class=
"identifier">m
</span> <span class=
"special">|
</span> <span class=
"identifier">m
</span> <span class=
"identifier">m
</span> <span class=
"identifier">M
</span> <span class=
"special">|
</span> <span class=
"identifier">M
</span> <span class=
"identifier">M
</span> <span class=
"identifier">M
</span>
503 Complexity characteristics for inplace operators that implement
<span class=
"emphasis"><em><span class=
"bold"><strong>symmetric difference
</strong></span></em></span> are given by the
506 <pre class=
"programlisting"><span class=
"identifier">n
</span> <span class=
"special">=
</span> <span class=
"identifier">iterative_size
</span><span class=
"special">(
</span><span class=
"identifier">y
</span><span class=
"special">);
</span>
507 <span class=
"identifier">m
</span> <span class=
"special">=
</span> <span class=
"identifier">iterative_size
</span><span class=
"special">(
</span><span class=
"identifier">x
</span><span class=
"special">);
</span> <span class=
"comment">//if P is a container
512 <a name=
"id1183001"></a><p class=
"title"><b>Table
 1.38.
 Time Complexity for inplace symmetric difference
513 on element containers
</b></p>
514 <div class=
"table-contents"><table class=
"table" summary=
"Time Complexity for inplace symmetric difference
515 on element containers">
526 <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
527 <span class=
"keyword">operator
</span> <span class=
"special">&=
</span>
528 <span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&</span> <span class=
"identifier">y
</span><span class=
"special">,
</span> <span class=
"keyword">const
</span>
529 <span class=
"identifier">P
</span><span class=
"special">&</span>
530 <span class=
"identifier">x
</span><span class=
"special">)
</span></code>
540 domain
<br> mapping
<br> type
558 <a href=
"http://www.cplusplus.com/reference/stl/set/" target=
"_top"><code class=
"computeroutput"><span class=
"identifier">std
</span><span class=
"special">::
</span><span class=
"identifier">set
</span></code> </a>
563 <span class=
"emphasis"><em>O(log n)
</em></span>
572 <span class=
"emphasis"><em>O(m log n)
</em></span>
583 <code class=
"computeroutput"><a class=
"link" href=
"../../boost/icl/map.html" title=
"Class template map">icl::map
</a></code>
588 <span class=
"emphasis"><em>O(log n)
</em></span>
593 <span class=
"emphasis"><em>O(log n)
</em></span>
598 <span class=
"emphasis"><em>O(m log n)
</em></span>
603 <span class=
"emphasis"><em>O(m log n)
</em></span>
610 <br class=
"table-break"><div class=
"table">
611 <a name=
"id1183242"></a><p class=
"title"><b>Table
 1.39.
 Time Complexity for inplace symmetric
612 difference on interval containers
</b></p>
613 <div class=
"table-contents"><table class=
"table" summary=
"Time Complexity for inplace symmetric
614 difference on interval containers">
627 <code class=
"computeroutput"><span class=
"identifier">T
</span><span class=
"special">&</span>
628 <span class=
"keyword">operator
</span> <span class=
"special">&=
</span>
629 <span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">&,
</span> <span class=
"keyword">const
</span>
630 <span class=
"identifier">P
</span><span class=
"special">&)
</span></code>
645 domain
<br> mapping
<br> type
650 interval
<br> mapping
<br> type
673 <span class=
"emphasis"><em>O(log n)
</em></span>
678 <span class=
"emphasis"><em>O(n)
</em></span>
691 <span class=
"emphasis"><em>O(m log(n+m))
</em></span>
707 <span class=
"emphasis"><em>O(log n)
</em></span>
712 <span class=
"emphasis"><em>O(n)
</em></span>
717 <span class=
"emphasis"><em>O(log n)
</em></span>
722 <span class=
"emphasis"><em>O(n)
</em></span>
727 <span class=
"emphasis"><em>O(m log(n+m))
</em></span>
732 <span class=
"emphasis"><em>O(m log(n+m))
</em></span>
739 <br class=
"table-break">
741 <div class=
"section boost_icl_function_reference_symmetric_difference_infix_operators" lang=
"en">
742 <div class=
"titlepage"><div><div><h4 class=
"title">
743 <a name=
"boost_icl.function_reference.symmetric_difference.infix_operators"></a><a class=
"link" href=
"symmetric_difference.html#boost_icl.function_reference.symmetric_difference.infix_operators" title=
"Infix operators">Infix
745 </h4></div></div></div>
747 For the infix version of symmetric difference the following overloads are
753 <pre class=
"programlisting"><span class=
"comment">// overload tables for element containers: interval containers:
754 </span><span class=
"identifier">T
</span> <span class=
"keyword">operator
</span> <span class=
"special">^
</span> <span class=
"special">(
</span><span class=
"identifier">T
</span><span class=
"special">,
</span> <span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&)
</span> <span class=
"special">^
</span> <span class=
"special">|
</span> <span class=
"identifier">e
</span> <span class=
"identifier">b
</span> <span class=
"identifier">s
</span> <span class=
"identifier">m
</span> <span class=
"special">^
</span> <span class=
"special">|
</span> <span class=
"identifier">e
</span> <span class=
"identifier">i
</span> <span class=
"identifier">b
</span> <span class=
"identifier">p
</span> <span class=
"identifier">S1
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S3
</span> <span class=
"identifier">M1
</span> <span class=
"identifier">M3
</span>
755 <span class=
"identifier">T
</span> <span class=
"keyword">operator
</span> <span class=
"special">^
</span> <span class=
"special">(
</span><span class=
"keyword">const
</span> <span class=
"identifier">P
</span><span class=
"special">&,
</span> <span class=
"identifier">T
</span><span class=
"special">)
</span> <span class=
"special">---+--------
</span> <span class=
"special">---+---------------------------
</span>
756 <span class=
"identifier">e
</span> <span class=
"special">|
</span> <span class=
"identifier">s
</span> <span class=
"identifier">e
</span> <span class=
"special">|
</span> <span class=
"identifier">S1
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S3
</span>
757 <span class=
"identifier">b
</span> <span class=
"special">|
</span> <span class=
"identifier">m
</span> <span class=
"identifier">i
</span> <span class=
"special">|
</span> <span class=
"identifier">S1
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S3
</span>
758 <span class=
"identifier">s
</span> <span class=
"special">|
</span> <span class=
"identifier">s
</span> <span class=
"identifier">s
</span> <span class=
"identifier">b
</span> <span class=
"special">|
</span> <span class=
"identifier">M1
</span> <span class=
"identifier">M3
</span>
759 <span class=
"identifier">m
</span> <span class=
"special">|
</span> <span class=
"identifier">m
</span> <span class=
"identifier">m
</span> <span class=
"identifier">p
</span> <span class=
"special">|
</span> <span class=
"identifier">M1
</span> <span class=
"identifier">M3
</span>
760 <span class=
"identifier">S1
</span> <span class=
"special">|
</span> <span class=
"identifier">S1
</span> <span class=
"identifier">S1
</span> <span class=
"identifier">S1
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S3
</span>
761 <span class=
"identifier">S2
</span> <span class=
"special">|
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S2
</span> <span class=
"identifier">S3
</span>
762 <span class=
"identifier">S3
</span> <span class=
"special">|
</span> <span class=
"identifier">S3
</span> <span class=
"identifier">S3
</span> <span class=
"identifier">S3
</span> <span class=
"identifier">S3
</span> <span class=
"identifier">S3
</span>
763 <span class=
"identifier">M1
</span> <span class=
"special">|
</span> <span class=
"identifier">M1
</span> <span class=
"identifier">M1
</span> <span class=
"identifier">M1
</span> <span class=
"identifier">M3
</span>
764 <span class=
"identifier">M3
</span> <span class=
"special">|
</span> <span class=
"identifier">M3
</span> <span class=
"identifier">M3
</span> <span class=
"identifier">M3
</span> <span class=
"identifier">M3
</span>
769 To resolve ambiguities among interval containers the
<span class=
"emphasis"><em><span class=
"bold"><strong>finer
</strong></span></em></span> container type is chosen as result
774 <span class=
"emphasis"><em><span class=
"bold"><strong>See also . . .
</strong></span></em></span>
776 <div class=
"informaltable"><table class=
"table">
777 <colgroup><col></colgroup>
778 <thead><tr></tr></thead>
782 <a class=
"link" href=
"intersection.html" title=
"Intersection"><span class=
"emphasis"><em><span class=
"bold"><strong>Intersection
</strong></span></em></span></a>
787 <a class=
"link" href=
"subtraction.html" title=
"Subtraction"><span class=
"emphasis"><em><span class=
"bold"><strong>Subtraction
</strong></span></em></span></a>
792 <a class=
"link" href=
"addition.html" title=
"Addition"><span class=
"emphasis"><em><span class=
"bold"><strong>Addition
</strong></span></em></span></a>
798 <span class=
"emphasis"><em><span class=
"bold"><strong>Back to section . . .
</strong></span></em></span>
800 <div class=
"informaltable"><table class=
"table">
801 <colgroup><col></colgroup>
802 <thead><tr></tr></thead>
806 <a class=
"link" href=
"../interface/function_synopsis.html#function_synopsis_table"><span class=
"emphasis"><em><span class=
"bold"><strong>Function
807 Synopsis
</strong></span></em></span></a>
812 <a class=
"link" href=
"../interface.html" title=
"Interface"><span class=
"emphasis"><em><span class=
"bold"><strong>Interface
</strong></span></em></span></a>
818 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
819 <td align=
"left"></td>
820 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2007 -
2010 Joachim Faulhaber
<br>Copyright
© 1999 -
2006 Cortex Software GmbH
<p>
821 Distributed under the Boost Software License, Version
1.0. (See accompanying
822 file LICENSE_1_0.txt or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt" target=
"_top">http://www.boost.org/LICENSE_1_0.txt
</a>)
827 <div class=
"spirit-nav">
828 <a accesskey=
"p" href=
"intersection.html"><img src=
"../../../../../../doc/src/images/prev.png" alt=
"Prev"></a><a accesskey=
"u" href=
"../function_reference.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=
"iterator_related.html"><img src=
"../../../../../../doc/src/images/next.png" alt=
"Next"></a>