-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoost.html
48 lines (43 loc) · 1.54 KB
/
Boost.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- cribtutor-stl by NewForester is licensed under a Creative Commons Attribution-ShareAlike 4.0 International Licence. -->
<h1> Boost </h1>
<p>
Boost is a large and diverse collection of open source libraries that extend the STL.
It is not part of the STL and is beyond the scope of this tutorial.
</p>
<h2> Boost Libraries </h2>
<p>
Here are listed a number of Boost libraries that may well have been included in C++ 11.
<ol><li>
The <b>array<></b> class template is a fixed size array that meets most of
the requirements for a sequence container.
</li>
<li>
The <b>dynamic_bitset<></b> class template is similar to the STL bitset<>
but its size can change at run-time.
</li>
<li>
The <b>binder</b> library generalises the STL bind1st<> and bind2nd<>
function templates and adds place-holders.
</li>
<li>
The <b>compose</b> library allows multiple functors to be combined into a single functor
for use with STL algorithms.
</li>
<li>
Boost generalises the STL <b>functor adaptors</b> 'mem_fun' etc.
</li>
<li>
The <b>function</b> library provides a generic function wrapper library.
</li>
<li>
There is an alternative <functional> header file
that avoids the reference-to-a-reference issue.
</li>
<li>
There is a <b>lamba function</b> library that provides an alternative to the use of binders, composers and adaptors
and offers features of functional programming.
</li>
<li>
There are several <b>smart pointer</b> libraries that provide solutions to a number of problems with the STL auto_ptr<>.
</li></ol>
</p>