1C++Intro(3) Standard C++ Library C++Intro(3)
2
3
4
6 C++Intro - Introduction to the GNU libstdc++ man pages
7
9 This man page serves as a brief introduction to the GNU implementation
10 of the Standard C++ Library. For a better introduction and more com‐
11 plete documentation, see the libstdc++ homepage listed at the end.
12
13 All standard library entities are declared within namespace std and
14 have manual entries beginning with "std::". For example, to see docu‐
15 mentation of the template class std::vector one would use "man
16 std::vector". Some entities do not have a separate man page; for those
17 see the main listing in "man Namespace_std".
18
19 All the man pages are automatically generated by Doxygen. For more
20 information on this tool, see the HTML counterpart to these man pages.
21
22 Some man pages do not correspond to individual classes or functions.
23 Rather they describe categories of the Standard Library. (For a more
24 thorough introduction to the various categories, consult a text such as
25 Josuttis' or Austern's.) These category pages are:
26
27 C++Intro This page.
28 Namespace_std A listing of the contents of std::.
29 Namespace___gnu_cxx A listing of the contents of __gnu_cxx::.
30 Containers An introduction to container classes.
31 Sequences Linear containers.
32 Assoc_containers Key-based containers.
33 Iterator_types Programatically distinguishing iterators/pointers.
34 Intro_functors An introduction to function objects, or functors.
35 Arithmetic_functors Functors for basic math.
36 Binder_functors Functors which "remember" an argument.
37 Comparison_functors Functors wrapping built-in comparisons.
38 Func_ptr_functors Functors for use with pointers to functions.
39 Logical_functors Functors wrapping the Boolean operations.
40 Member_ptr_functor Functors for use with pointers to members.
41 Negation_functors Functors which negate their contents.
42 SGIextensions A list of the extensions from the SGI STL subset.
43
44
45 The HTML documentation typically goes into much more depth.
46
48 Lots!
49
50 Standard Headers
51 These headers will be found automatically, unless you instruct the com‐
52 piler otherwise.
53
54 <algorithm> <csignal> <iomanip> <ostream>
55 <bitset> <cstdarg> <ios> <queue>
56 <cassert> <cstddef> <iosfwd> <set>
57 <cctype> <cstdio> <iostream> <sstream>
58 <cerrno> <cstdlib> <istream> <stack>
59 <cfloat> <cstring> <iterator> <stdexcept>
60 <ciso>646 <ctime> <limits> <streambuf>
61 <climits> <cwchar> <list> <string>
62 <clocale> <cwctype> <locale> <utility>
63 <cmath> <deque> <map> <valarray>
64 <complex> <fstream> <memory> <vector>
65 <csetjmp> <functional> <numeric>
66
67 Backwards-Compatibility Headers
68 For GCC 3.0 these headers will be found automatically, unless you
69 instruct the compiler otherwise. You should not depend on this,
70 instead you should read FAQ 5.4 and use a backward/ prefix.
71
72 <strstream>
73
74 Extension Headers
75 These headers will only be found automatically if you include the lead‐
76 ing ext/ in the name. Otherwise you need to read FAQ 5.4.
77
78 <ext/algorithm> <ext/numeric>
79 <ext/functional> <ext/iterator>
80 <ext/slist> <ext/rb_tree>
81 <ext/rope> <ext/memory>
82 <ext/bitmap_allocator.h> <ext/debug_allocator.h>
83 <ext/malloc_allocator.h> <ext/mt_allocator.h>
84 <ext/pool_allocator.h> <ext/pod_char_traits.h>
85 <ext/stdio_filebuf.h> <ext/stdio_sync_filebuf.h>
86
87 Libraries
88 libstdc++.a
89 The library implementation in static archive form. If you did
90 not configure libstdc++ to use shared libraries, this will
91 always be used. Otherwise it will only be used if the user
92 requests it.
93
94 libsupc++.a
95 This library contains C++ language support routines. Usually
96 you will never need to know about it, but it can be useful. See
97 FAQ 2.5.
98
99 libstdc++.so[.N]
100 The library implementation in shared object form. This will be
101 used in preference to the static archive form by default. N
102 will be a number equal to or greater than 3. If N is in the 2.x
103 series, then you are looking at the old libstdc++-v2 library,
104 which we do not maintain.
105
106 libstdc++.la
107
108 libsupc++.la
109 These are Libtool library files, and should only be used when
110 working with that tool.
111
113 Almost conforming to International Standard ISO/IEC 14882:1998(E), Pro‐
114 gramming Languages --- C++ (aka the C++ standard), in addition to cor‐
115 rections proposed by the Library Working Group, JTC1/SC22/WG21.
116
118 http://gcc.gnu.org/libstdc++/ ⟨⟩ for the Frequently Asked Questions,
119 online documentation, and much, much more!
120
121
122
123GNU libstdc++ 20 May 2004 C++Intro(3)