• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>Chapter 19. Boost.Intrusive</title>
6<link rel="stylesheet" href="../../doc/src/boostbook.css" type="text/css">
7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8<link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9<link rel="up" href="libraries.html" title="Part I. The Boost C++ Libraries (BoostBook Subset)">
10<link rel="prev" href="boost/interprocess/xsi_shared_memory.html" title="Class xsi_shared_memory">
11<link rel="next" href="intrusive/intrusive_vs_nontrusive.html" title="Intrusive and non-intrusive containers">
12</head>
13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14<table cellpadding="2" width="100%"><tr>
15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../boost.png"></td>
16<td align="center"><a href="../../index.html">Home</a></td>
17<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20<td align="center"><a href="../../more/index.htm">More</a></td>
21</tr></table>
22<hr>
23<div class="spirit-nav">
24<a accesskey="p" href="boost/interprocess/xsi_shared_memory.html"><img src="../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.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="intrusive/intrusive_vs_nontrusive.html"><img src="../../doc/src/images/next.png" alt="Next"></a>
25</div>
26<div class="chapter">
27<div class="titlepage"><div>
28<div><h2 class="title">
29<a name="intrusive"></a>Chapter 19. Boost.Intrusive</h2></div>
30<div><div class="author"><h3 class="author">
31<span class="firstname">Olaf</span> <span class="surname">Krzikalla</span>
32</h3></div></div>
33<div><div class="author"><h3 class="author">
34<span class="firstname">Ion</span> <span class="surname">Gaztanaga</span>
35</h3></div></div>
36<div><p class="copyright">Copyright © 2005 Olaf Krzikalla</p></div>
37<div><p class="copyright">Copyright © 2006-2015 Ion Gaztanaga</p></div>
38<div><div class="legalnotice">
39<a name="intrusive.legal"></a><p>
40        Distributed under the Boost Software License, Version 1.0. (See accompanying
41        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>)
42      </p>
43</div></div>
44</div></div>
45<div class="toc">
46<p><b>Table of Contents</b></p>
47<dl class="toc">
48<dt><span class="section"><a href="intrusive.html#intrusive.introduction">Introduction</a></span></dt>
49<dd><dl>
50<dt><span class="section"><a href="intrusive.html#intrusive.introduction.introduction_presenting">Presenting
51      Boost.Intrusive</a></span></dt>
52<dt><span class="section"><a href="intrusive.html#intrusive.introduction.introduction_building_intrusive">Building
53      Boost.Intrusive</a></span></dt>
54<dt><span class="section"><a href="intrusive.html#intrusive.introduction.tested_compilers">Tested compilers</a></span></dt>
55</dl></dd>
56<dt><span class="section"><a href="intrusive/intrusive_vs_nontrusive.html">Intrusive and non-intrusive
57    containers</a></span></dt>
58<dd><dl>
59<dt><span class="section"><a href="intrusive/intrusive_vs_nontrusive.html#intrusive.intrusive_vs_nontrusive.differences_intrusive_vs_nontrusive">Differences
60      between intrusive and non-intrusive containers</a></span></dt>
61<dt><span class="section"><a href="intrusive/intrusive_vs_nontrusive.html#intrusive.intrusive_vs_nontrusive.properties_of_intrusive">Properties
62      of Boost.Intrusive containers</a></span></dt>
63</dl></dd>
64<dt><span class="section"><a href="intrusive/usage.html">How to use Boost.Intrusive</a></span></dt>
65<dd><dl>
66<dt><span class="section"><a href="intrusive/usage.html#intrusive.usage.usage_base_hook">Using base hooks</a></span></dt>
67<dt><span class="section"><a href="intrusive/usage.html#intrusive.usage.usage_member_hook">Using member hooks</a></span></dt>
68<dt><span class="section"><a href="intrusive/usage.html#intrusive.usage.usage_both_hooks">Using both hooks</a></span></dt>
69<dt><span class="section"><a href="intrusive/usage.html#intrusive.usage.usage_lifetime">Object lifetime</a></span></dt>
70</dl></dd>
71<dt><span class="section"><a href="intrusive/usage_when.html">When to use?</a></span></dt>
72<dt><span class="section"><a href="intrusive/concepts_summary.html">Concept summary</a></span></dt>
73<dt><span class="section"><a href="intrusive/presenting_containers.html">Presenting Boost.Intrusive
74    containers</a></span></dt>
75<dt><span class="section"><a href="intrusive/safe_hook.html">Safe hooks</a></span></dt>
76<dd><dl>
77<dt><span class="section"><a href="intrusive/safe_hook.html#intrusive.safe_hook.features">Features of the safe mode</a></span></dt>
78<dt><span class="section"><a href="intrusive/safe_hook.html#intrusive.safe_hook.configuring">Configuring safe-mode
79      assertions</a></span></dt>
80</dl></dd>
81<dt><span class="section"><a href="intrusive/auto_unlink_hooks.html">Auto-unlink hooks</a></span></dt>
82<dd><dl>
83<dt><span class="section"><a href="intrusive/auto_unlink_hooks.html#intrusive.auto_unlink_hooks.auto_unlink_hooks_what">What's
84      an auto-unlink hook?</a></span></dt>
85<dt><span class="section"><a href="intrusive/auto_unlink_hooks.html#intrusive.auto_unlink_hooks.auto_unlink_hooks_example">Auto-unlink
86      hook example</a></span></dt>
87<dt><span class="section"><a href="intrusive/auto_unlink_hooks.html#intrusive.auto_unlink_hooks.auto_unlink_and_constant_time">Auto-unlink
88      hooks and containers with constant-time <code class="computeroutput"><span class="identifier">size</span><span class="special">()</span></code></a></span></dt>
89</dl></dd>
90<dt><span class="section"><a href="intrusive/slist.html">Intrusive singly linked list: slist</a></span></dt>
91<dd><dl>
92<dt><span class="section"><a href="intrusive/slist.html#intrusive.slist.slist_hooks">slist hooks</a></span></dt>
93<dt><span class="section"><a href="intrusive/slist.html#intrusive.slist.slist_container">slist container</a></span></dt>
94<dt><span class="section"><a href="intrusive/slist.html#intrusive.slist.slist_example">Example</a></span></dt>
95</dl></dd>
96<dt><span class="section"><a href="intrusive/list.html">Intrusive doubly linked list: list</a></span></dt>
97<dd><dl>
98<dt><span class="section"><a href="intrusive/list.html#intrusive.list.list_hooks">list hooks</a></span></dt>
99<dt><span class="section"><a href="intrusive/list.html#intrusive.list.list_container">list container</a></span></dt>
100<dt><span class="section"><a href="intrusive/list.html#intrusive.list.list_example">Example</a></span></dt>
101</dl></dd>
102<dt><span class="section"><a href="intrusive/set_multiset.html">Intrusive associative containers:
103    set, multiset, rbtree</a></span></dt>
104<dd><dl>
105<dt><span class="section"><a href="intrusive/set_multiset.html#intrusive.set_multiset.set_multiset_hooks">set, multiset
106      and rbtree hooks</a></span></dt>
107<dt><span class="section"><a href="intrusive/set_multiset.html#intrusive.set_multiset.set_multiset_containers">set,
108      multiset and rbtree containers</a></span></dt>
109<dt><span class="section"><a href="intrusive/set_multiset.html#intrusive.set_multiset.set_multiset_example">Example</a></span></dt>
110</dl></dd>
111<dt><span class="section"><a href="intrusive/unordered_set_unordered_multiset.html">Semi-Intrusive
112    unordered associative containers: unordered_set, unordered_multiset</a></span></dt>
113<dd><dl>
114<dt><span class="section"><a href="intrusive/unordered_set_unordered_multiset.html#intrusive.unordered_set_unordered_multiset.unordered_set_unordered_multiset_performance">unordered_set
115      and unordered_multiset performance notes</a></span></dt>
116<dt><span class="section"><a href="intrusive/unordered_set_unordered_multiset.html#intrusive.unordered_set_unordered_multiset.unordered_set_unordered_multiset_hooks">unordered_set
117      and unordered_multiset hooks</a></span></dt>
118<dt><span class="section"><a href="intrusive/unordered_set_unordered_multiset.html#intrusive.unordered_set_unordered_multiset.unordered_set_unordered_multiset_containers">unordered_set
119      and unordered_multiset containers</a></span></dt>
120<dt><span class="section"><a href="intrusive/unordered_set_unordered_multiset.html#intrusive.unordered_set_unordered_multiset.unordered_set_unordered_multiset_example">Example</a></span></dt>
121<dt><span class="section"><a href="intrusive/unordered_set_unordered_multiset.html#intrusive.unordered_set_unordered_multiset.custom_bucket_traits">Custom
122      bucket traits</a></span></dt>
123</dl></dd>
124<dt><span class="section"><a href="intrusive/map_multimap.html">Map and multimap-like interface
125    for associative containers</a></span></dt>
126<dt><span class="section"><a href="intrusive/avl_set_multiset.html">Intrusive avl tree based associative
127    containers: avl_set, avl_multiset and avltree</a></span></dt>
128<dd><dl>
129<dt><span class="section"><a href="intrusive/avl_set_multiset.html#intrusive.avl_set_multiset.avl_set_multiset_hooks">avl_set,
130      avl_multiset and avltree hooks</a></span></dt>
131<dt><span class="section"><a href="intrusive/avl_set_multiset.html#intrusive.avl_set_multiset.set_multiset_containers">avl_set,
132      avl_multiset and avltree containers</a></span></dt>
133<dt><span class="section"><a href="intrusive/avl_set_multiset.html#intrusive.avl_set_multiset.avl_set_multiset_example">Example</a></span></dt>
134</dl></dd>
135<dt><span class="section"><a href="intrusive/splay_set_multiset.html">Intrusive splay tree based
136    associative containers: splay_set, splay_multiset and , splay_tree</a></span></dt>
137<dd><dl>
138<dt><span class="section"><a href="intrusive/splay_set_multiset.html#intrusive.splay_set_multiset.splay_set_multiset_disadvantages">Advantages
139      and disadvantages of splay tree based containers</a></span></dt>
140<dt><span class="section"><a href="intrusive/splay_set_multiset.html#intrusive.splay_set_multiset.set_multiset_containers">splay_set,
141      splay_multiset and splaytree containers</a></span></dt>
142<dt><span class="section"><a href="intrusive/splay_set_multiset.html#intrusive.splay_set_multiset.splay_set_multiset_example">Example</a></span></dt>
143</dl></dd>
144<dt><span class="section"><a href="intrusive/sg_set_multiset.html">Intrusive scapegoat tree based
145    associative containers: sg_set, sg_multiset and sgtree</a></span></dt>
146<dd><dl>
147<dt><span class="section"><a href="intrusive/sg_set_multiset.html#intrusive.sg_set_multiset.sg_set_multiset_containers">sg_set,
148      sg_multiset and sgtree containers</a></span></dt>
149<dt><span class="section"><a href="intrusive/sg_set_multiset.html#intrusive.sg_set_multiset.sg_set_multiset_example">Example</a></span></dt>
150</dl></dd>
151<dt><span class="section"><a href="intrusive/treap_set_multiset.html">Intrusive treap based associative
152    containers: treap_set, treap_multiset and treap</a></span></dt>
153<dd><dl>
154<dt><span class="section"><a href="intrusive/treap_set_multiset.html#intrusive.treap_set_multiset.treap_set_multiset_containers">treap_set,
155      treap_multiset and treap containers</a></span></dt>
156<dt><span class="section"><a href="intrusive/treap_set_multiset.html#intrusive.treap_set_multiset.treap_set_exceptions">Exception
157      safety of treap-based intrusive containers</a></span></dt>
158<dt><span class="section"><a href="intrusive/treap_set_multiset.html#intrusive.treap_set_multiset.treap_set_multiset_example">Example</a></span></dt>
159</dl></dd>
160<dt><span class="section"><a href="intrusive/bst_hooks.html">Binary search tree hooks: bs_set_base_hook
161    and bs_set_member_hook</a></span></dt>
162<dt><span class="section"><a href="intrusive/advanced_lookups_insertions.html">Advanced lookup
163    and insertion functions for associative containers</a></span></dt>
164<dd><dl>
165<dt><span class="section"><a href="intrusive/advanced_lookups_insertions.html#intrusive.advanced_lookups_insertions.advanced_lookups">Advanced
166      lookups</a></span></dt>
167<dt><span class="section"><a href="intrusive/advanced_lookups_insertions.html#intrusive.advanced_lookups_insertions.advanced_insertions">Advanced
168      insertions</a></span></dt>
169<dt><span class="section"><a href="intrusive/advanced_lookups_insertions.html#intrusive.advanced_lookups_insertions.positional_insertions">Positional
170      insertions</a></span></dt>
171</dl></dd>
172<dt><span class="section"><a href="intrusive/erasing_and_disposing.html">Erasing and disposing
173    values from Boost.Intrusive containers</a></span></dt>
174<dt><span class="section"><a href="intrusive/clone_from.html">Cloning Boost.Intrusive containers</a></span></dt>
175<dt><span class="section"><a href="intrusive/function_hooks.html">Using function hooks</a></span></dt>
176<dt><span class="section"><a href="intrusive/recursive.html">Recursive Boost.Intrusive containers</a></span></dt>
177<dt><span class="section"><a href="intrusive/using_smart_pointers.html">Using smart pointers with
178    Boost.Intrusive containers</a></span></dt>
179<dd><dl><dt><span class="section"><a href="intrusive/using_smart_pointers.html#intrusive.using_smart_pointers.smart_pointers_requirements">Requirements
180      for smart pointers compatible with Boost.Intrusive</a></span></dt></dl></dd>
181<dt><span class="section"><a href="intrusive/obtaining_iterators_from_values.html">Obtaining iterators
182    from values</a></span></dt>
183<dt><span class="section"><a href="intrusive/any_hooks.html">Any Hooks: A single hook for any Intrusive
184    container</a></span></dt>
185<dt><span class="section"><a href="intrusive/concepts.html">Concepts explained</a></span></dt>
186<dt><span class="section"><a href="intrusive/node_algorithms.html">Node algorithms with custom
187    NodeTraits</a></span></dt>
188<dd><dl>
189<dt><span class="section"><a href="intrusive/node_algorithms.html#intrusive.node_algorithms.circular_slist_algorithms">Intrusive
190      singly linked list algorithms</a></span></dt>
191<dt><span class="section"><a href="intrusive/node_algorithms.html#intrusive.node_algorithms.circular_list_algorithms">Intrusive
192      doubly linked list algorithms</a></span></dt>
193<dt><span class="section"><a href="intrusive/node_algorithms.html#intrusive.node_algorithms.rbtree_algorithms">Intrusive
194      red-black tree algorithms</a></span></dt>
195<dt><span class="section"><a href="intrusive/node_algorithms.html#intrusive.node_algorithms.splaytree_algorithms">Intrusive
196      splay tree algorithms</a></span></dt>
197<dt><span class="section"><a href="intrusive/node_algorithms.html#intrusive.node_algorithms.avltree_algorithms">Intrusive
198      avl tree algorithms</a></span></dt>
199<dt><span class="section"><a href="intrusive/node_algorithms.html#intrusive.node_algorithms.treap_algorithms">Intrusive
200      treap algorithms</a></span></dt>
201</dl></dd>
202<dt><span class="section"><a href="intrusive/value_traits.html">Containers with custom ValueTraits</a></span></dt>
203<dd><dl>
204<dt><span class="section"><a href="intrusive/value_traits.html#intrusive.value_traits.value_traits_interface">ValueTraits
205      interface</a></span></dt>
206<dt><span class="section"><a href="intrusive/value_traits.html#intrusive.value_traits.value_traits_example">Custom ValueTraits
207      example</a></span></dt>
208<dt><span class="section"><a href="intrusive/value_traits.html#intrusive.value_traits.reusing_node_algorithms">Reusing
209      node algorithms for different values</a></span></dt>
210<dt><span class="section"><a href="intrusive/value_traits.html#intrusive.value_traits.simplifying_value_traits">Simplifying
211      value traits definition</a></span></dt>
212<dt><span class="section"><a href="intrusive/value_traits.html#intrusive.value_traits.stateful_value_traits">Stateful
213      value traits</a></span></dt>
214</dl></dd>
215<dt><span class="section"><a href="intrusive/thread_safety.html">Thread safety guarantees</a></span></dt>
216<dt><span class="section"><a href="intrusive/boost_intrusive_iterators.html">Boost.Intrusive Iterator
217    features</a></span></dt>
218<dd><dl>
219<dt><span class="section"><a href="intrusive/boost_intrusive_iterators.html#intrusive.boost_intrusive_iterators.null_forward_iterators">Null
220      forward iterators</a></span></dt>
221<dt><span class="section"><a href="intrusive/boost_intrusive_iterators.html#intrusive.boost_intrusive_iterators.scary_iterators">Scary
222      Iterators</a></span></dt>
223</dl></dd>
224<dt><span class="section"><a href="intrusive/equal_range_stability.html">Stability and insertion
225    with hint in ordered associative containers with equivalent keys</a></span></dt>
226<dt><span class="section"><a href="intrusive/obtaining_same_type_reducing_space.html">Obtaining
227    the same types and reducing symbol length</a></span></dt>
228<dt><span class="section"><a href="intrusive/design_notes.html">Design Notes</a></span></dt>
229<dd><dl>
230<dt><span class="section"><a href="intrusive/design_notes.html#intrusive.design_notes.performance_sensitive">Boost.Intrusive
231      in performance sensitive environments</a></span></dt>
232<dt><span class="section"><a href="intrusive/design_notes.html#intrusive.design_notes.space_constrained">Boost.Intrusive
233      in space constrained environments</a></span></dt>
234<dt><span class="section"><a href="intrusive/design_notes.html#intrusive.design_notes.basic_building_block">Boost.Intrusive
235      as a basic building block</a></span></dt>
236<dt><span class="section"><a href="intrusive/design_notes.html#intrusive.design_notes.extending_intrusive">Extending
237      Boost.Intrusive</a></span></dt>
238</dl></dd>
239<dt><span class="section"><a href="intrusive/performance.html">Performance</a></span></dt>
240<dd><dl>
241<dt><span class="section"><a href="intrusive/performance.html#intrusive.performance.performance_results_push_back">Back
242      insertion and destruction</a></span></dt>
243<dt><span class="section"><a href="intrusive/performance.html#intrusive.performance.performance_results_reversing">Reversing</a></span></dt>
244<dt><span class="section"><a href="intrusive/performance.html#intrusive.performance.performance_results_sorting">Sorting</a></span></dt>
245<dt><span class="section"><a href="intrusive/performance.html#intrusive.performance.performance_results_write_access">Write
246      access</a></span></dt>
247<dt><span class="section"><a href="intrusive/performance.html#intrusive.performance.performance_results_conclusions">Conclusions</a></span></dt>
248</dl></dd>
249<dt><span class="section"><a href="intrusive/release_notes.html">Release Notes</a></span></dt>
250<dd><dl>
251<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_73_00">Boost
252      1.73 Release</a></span></dt>
253<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_71_00">Boost
254      1.71 Release</a></span></dt>
255<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_70_00">Boost
256      1.70 Release</a></span></dt>
257<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_67_00">Boost
258      1.67 Release</a></span></dt>
259<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_65_00">Boost
260      1.65 Release</a></span></dt>
261<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_64_00">Boost
262      1.64 Release</a></span></dt>
263<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_63_00">Boost
264      1.63 Release</a></span></dt>
265<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_62_00">Boost
266      1.62 Release</a></span></dt>
267<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_61_00">Boost
268      1.61 Release</a></span></dt>
269<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_60_00">Boost
270      1.60 Release</a></span></dt>
271<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_59_00">Boost
272      1.59 Release</a></span></dt>
273<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_58_00">Boost
274      1.58 Release</a></span></dt>
275<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_57_00">Boost
276      1.57 Release</a></span></dt>
277<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_56_00">Boost
278      1.56 Release</a></span></dt>
279<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_55_00">Boost
280      1.55 Release</a></span></dt>
281<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_54_00">Boost
282      1.54 Release</a></span></dt>
283<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_53_00">Boost
284      1.53 Release</a></span></dt>
285<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_51_00">Boost
286      1.51 Release</a></span></dt>
287<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_49_00">Boost
288      1.49 Release</a></span></dt>
289<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_48_00">Boost
290      1.48 Release</a></span></dt>
291<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_46_00">Boost
292      1.46 Release</a></span></dt>
293<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_45_00">Boost
294      1.45 Release</a></span></dt>
295<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_40_00">Boost
296      1.40 Release</a></span></dt>
297<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_39_00">Boost
298      1.39 Release</a></span></dt>
299<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_38_00">Boost
300      1.38 Release</a></span></dt>
301<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_37_00">Boost
302      1.37 Release</a></span></dt>
303<dt><span class="section"><a href="intrusive/release_notes.html#intrusive.release_notes.release_notes_boost_1_36_00">Boost
304      1.36 Release</a></span></dt>
305</dl></dd>
306<dt><span class="section"><a href="intrusive/references.html">References</a></span></dt>
307<dt><span class="section"><a href="intrusive/acknowledgements.html">Acknowledgements</a></span></dt>
308<dt><span class="section"><a href="intrusive/index.html">Indexes</a></span></dt>
309<dt><span class="section"><a href="intrusive/reference.html">Reference</a></span></dt>
310<dd><dl>
311<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.any_hook_hpp">Header &lt;boost/intrusive/any_hook.hpp&gt;</a></span></dt>
312<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.avl_set_hpp">Header &lt;boost/intrusive/avl_set.hpp&gt;</a></span></dt>
313<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.avl_set_hook_hpp">Header &lt;boost/intrusive/avl_set_hook.hpp&gt;</a></span></dt>
314<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.avltree_hpp">Header &lt;boost/intrusive/avltree.hpp&gt;</a></span></dt>
315<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.avltree_algorithms_hpp">Header &lt;boost/intrusive/avltree_algorithms.hpp&gt;</a></span></dt>
316<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.bs_set_hpp">Header &lt;boost/intrusive/bs_set.hpp&gt;</a></span></dt>
317<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.bs_set_hook_hpp">Header &lt;boost/intrusive/bs_set_hook.hpp&gt;</a></span></dt>
318<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.bstree_hpp">Header &lt;boost/intrusive/bstree.hpp&gt;</a></span></dt>
319<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.bstree_algorithms_hpp">Header &lt;boost/intrusive/bstree_algorithms.hpp&gt;</a></span></dt>
320<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.circular_list_algorithms_hpp">Header &lt;boost/intrusive/circular_list_algorithms.hpp&gt;</a></span></dt>
321<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.circular_slist_algorithms_hpp">Header &lt;boost/intrusive/circular_slist_algorithms.hpp&gt;</a></span></dt>
322<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.derivation_value_traits_hpp">Header &lt;boost/intrusive/derivation_value_traits.hpp&gt;</a></span></dt>
323<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.hashtable_hpp">Header &lt;boost/intrusive/hashtable.hpp&gt;</a></span></dt>
324<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.intrusive_fwd_hpp">Header &lt;boost/intrusive/intrusive_fwd.hpp&gt;</a></span></dt>
325<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.linear_slist_algorithms_hpp">Header &lt;boost/intrusive/linear_slist_algorithms.hpp&gt;</a></span></dt>
326<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.link_mode_hpp">Header &lt;boost/intrusive/link_mode.hpp&gt;</a></span></dt>
327<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.list_hpp">Header &lt;boost/intrusive/list.hpp&gt;</a></span></dt>
328<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.list_hook_hpp">Header &lt;boost/intrusive/list_hook.hpp&gt;</a></span></dt>
329<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.member_value_traits_hpp">Header &lt;boost/intrusive/member_value_traits.hpp&gt;</a></span></dt>
330<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.options_hpp">Header &lt;boost/intrusive/options.hpp&gt;</a></span></dt>
331<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.pack_options_hpp">Header &lt;boost/intrusive/pack_options.hpp&gt;</a></span></dt>
332<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.parent_from_member_hpp">Header &lt;boost/intrusive/parent_from_member.hpp&gt;</a></span></dt>
333<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.pointer_plus_bits_hpp">Header &lt;boost/intrusive/pointer_plus_bits.hpp&gt;</a></span></dt>
334<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.pointer_rebind_hpp">Header &lt;boost/intrusive/pointer_rebind.hpp&gt;</a></span></dt>
335<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.pointer_traits_hpp">Header &lt;boost/intrusive/pointer_traits.hpp&gt;</a></span></dt>
336<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.priority_compare_hpp">Header &lt;boost/intrusive/priority_compare.hpp&gt;</a></span></dt>
337<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.rbtree_hpp">Header &lt;boost/intrusive/rbtree.hpp&gt;</a></span></dt>
338<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.rbtree_algorithms_hpp">Header &lt;boost/intrusive/rbtree_algorithms.hpp&gt;</a></span></dt>
339<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.set_hpp">Header &lt;boost/intrusive/set.hpp&gt;</a></span></dt>
340<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.set_hook_hpp">Header &lt;boost/intrusive/set_hook.hpp&gt;</a></span></dt>
341<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.sg_set_hpp">Header &lt;boost/intrusive/sg_set.hpp&gt;</a></span></dt>
342<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.sgtree_hpp">Header &lt;boost/intrusive/sgtree.hpp&gt;</a></span></dt>
343<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.sgtree_algorithms_hpp">Header &lt;boost/intrusive/sgtree_algorithms.hpp&gt;</a></span></dt>
344<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.slist_hpp">Header &lt;boost/intrusive/slist.hpp&gt;</a></span></dt>
345<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.slist_hook_hpp">Header &lt;boost/intrusive/slist_hook.hpp&gt;</a></span></dt>
346<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.splay_set_hpp">Header &lt;boost/intrusive/splay_set.hpp&gt;</a></span></dt>
347<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.splaytree_hpp">Header &lt;boost/intrusive/splaytree.hpp&gt;</a></span></dt>
348<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.splaytree_algorithms_hpp">Header &lt;boost/intrusive/splaytree_algorithms.hpp&gt;</a></span></dt>
349<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.treap_hpp">Header &lt;boost/intrusive/treap.hpp&gt;</a></span></dt>
350<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.treap_algorithms_hpp">Header &lt;boost/intrusive/treap_algorithms.hpp&gt;</a></span></dt>
351<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.treap_set_hpp">Header &lt;boost/intrusive/treap_set.hpp&gt;</a></span></dt>
352<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.trivial_value_traits_hpp">Header &lt;boost/intrusive/trivial_value_traits.hpp&gt;</a></span></dt>
353<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.unordered_set_hpp">Header &lt;boost/intrusive/unordered_set.hpp&gt;</a></span></dt>
354<dt><span class="section"><a href="intrusive/reference.html#header.boost.intrusive.unordered_set_hook_hpp">Header &lt;boost/intrusive/unordered_set_hook.hpp&gt;</a></span></dt>
355</dl></dd>
356</dl>
357</div>
358<div class="section">
359<div class="titlepage"><div><div><h2 class="title" style="clear: both">
360<a name="intrusive.introduction"></a><a class="link" href="intrusive.html#intrusive.introduction" title="Introduction">Introduction</a>
361</h2></div></div></div>
362<div class="toc"><dl class="toc">
363<dt><span class="section"><a href="intrusive.html#intrusive.introduction.introduction_presenting">Presenting
364      Boost.Intrusive</a></span></dt>
365<dt><span class="section"><a href="intrusive.html#intrusive.introduction.introduction_building_intrusive">Building
366      Boost.Intrusive</a></span></dt>
367<dt><span class="section"><a href="intrusive.html#intrusive.introduction.tested_compilers">Tested compilers</a></span></dt>
368</dl></div>
369<div class="section">
370<div class="titlepage"><div><div><h3 class="title">
371<a name="intrusive.introduction.introduction_presenting"></a><a class="link" href="intrusive.html#intrusive.introduction.introduction_presenting" title="Presenting Boost.Intrusive">Presenting
372      Boost.Intrusive</a>
373</h3></div></div></div>
374<p>
375        <span class="bold"><strong>Boost.Intrusive</strong></span> is a library presenting
376        some intrusive containers to the world of C++. Intrusive containers are special
377        containers that offer <a class="link" href="intrusive/performance.html" title="Performance">better performance</a>
378        and exception safety guarantees than non-intrusive containers (like STL containers).
379      </p>
380<p>
381        The performance benefits of intrusive containers makes them ideal as a building
382        block to efficiently construct complex containers like multi-index containers
383        or to design high performance code like memory allocation algorithms.
384      </p>
385<p>
386        While intrusive containers were and are widely used in C, they became more
387        and more forgotten in C++ due to the presence of the standard containers
388        which don't support intrusive techniques.<span class="bold"><strong>Boost.Intrusive</strong></span>
389        wants to push intrusive containers usage encapsulating the implementation
390        in STL-like interfaces. Hence anyone familiar with standard containers can
391        easily use <span class="bold"><strong>Boost.Intrusive</strong></span>.
392      </p>
393</div>
394<div class="section">
395<div class="titlepage"><div><div><h3 class="title">
396<a name="intrusive.introduction.introduction_building_intrusive"></a><a class="link" href="intrusive.html#intrusive.introduction.introduction_building_intrusive" title="Building Boost.Intrusive">Building
397      Boost.Intrusive</a>
398</h3></div></div></div>
399<p>
400        There is no need to compile anything to use <span class="bold"><strong>Boost.Intrusive</strong></span>,
401        since it's a header only library. Just include your Boost header directory
402        in your compiler include path.
403      </p>
404</div>
405<div class="section">
406<div class="titlepage"><div><div><h3 class="title">
407<a name="intrusive.introduction.tested_compilers"></a><a class="link" href="intrusive.html#intrusive.introduction.tested_compilers" title="Tested compilers">Tested compilers</a>
408</h3></div></div></div>
409<p>
410        <span class="bold"><strong>Boost.Intrusive</strong></span> has been tested on the following
411        compilers/platforms:
412      </p>
413<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
414<li class="listitem">
415            Visual C++ &gt;= 7.1.
416          </li>
417<li class="listitem">
418            GCC &gt;= 4.1.
419          </li>
420</ul></div>
421<div class="warning"><table border="0" summary="Warning">
422<tr>
423<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../doc/src/images/warning.png"></td>
424<th align="left">Warning</th>
425</tr>
426<tr><td align="left" valign="top"><p>
427          GCC &lt; 4.3 and MSVC &lt; 9.0 are deprecated and will be removed in the
428          next version.
429        </p></td></tr>
430</table></div>
431</div>
432</div>
433</div>
434<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
435<td align="left"><p><small>Last revised: August 11, 2020 at 15:03:13 GMT</small></p></td>
436<td align="right"><div class="copyright-footer"></div></td>
437</tr></table>
438<hr>
439<div class="spirit-nav">
440<a accesskey="p" href="boost/interprocess/xsi_shared_memory.html"><img src="../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="libraries.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="intrusive/intrusive_vs_nontrusive.html"><img src="../../doc/src/images/next.png" alt="Next"></a>
441</div>
442</body>
443</html>
444