C++11StdLib  Table of Code Examples

The C++ Standard Library - A Tutorial and Reference, 2nd Edition

Table of Code Examples

This is the table of contents of all code examples of the book The C++ Standard Library - A Tutorial and Reference, 2nd Edition by Nicolai M. Josuttis.



[index]  [examples-home]  [book-home]  [copyrights

03 New language features:

lang/lambda1.cpp

04 General Concepts:

util/exception.hpp

05 Utilities:

util/pair1.cpp
util/tuple1.cpp
util/printtuple.hpp
util/tuple2.cpp
util/sharedptr1.cpp
util/sharedptr2.cpp
util/sharedptr3.cpp
util/weakptr1.cpp
util/weakptr2.cpp
util/enableshared1.cpp
util/uniqueptr1.cpp
util/limits1.cpp
util/minmax1.cpp
util/ratio1.cpp
util/clock.hpp
util/clock1.cpp
util/chrono1.cpp
util/chrono2.cpp
util/timepoint.hpp
util/timepoint1.cpp

06 STL Introduction:

stl/vector1.cpp
stl/deque1.cpp
stl/array1.cpp
stl/list1.cpp
stl/list2.cpp
stl/forwardlist1.cpp
stl/multiset1.cpp
stl/multimap1.cpp
stl/unordmultiset1.cpp
stl/unordmap1.cpp
stl/assoarray1.cpp
stl/list1old.cpp
stl/algo1.cpp
stl/set1.cpp
stl/unordmultiset2.cpp
stl/algo1.cpp
stl/algo1old.cpp
stl/find1.cpp
stl/copybug.cpp
stl/copy1.cpp
stl/copy2.cpp
stl/ioiter1.cpp
stl/reviter1.cpp
stl/print.hpp
stl/remove1.cpp
stl/remove2.cpp
stl/remove3.cpp
stl/remove4.cpp
stl/foreach1.cpp
stl/transform1.cpp
stl/prime1.cpp
stl/sort1.cpp
stl/lambda1.cpp
stl/sort2.cpp
stl/foreach2.cpp
stl/add1.cpp
stl/fo1.cpp
stl/bind1.cpp
stl/iterbug.cpp

07 STL Containers:

cont/array1.cpp
cont/vector1.cpp
cont/deque1.cpp
cont/list1.cpp
cont/forwardlistfind1.cpp
cont/findbefore.hpp
cont/forwardlistfind1.cpp
cont/forwardlistsplice1.cpp
cont/forwardlist1.cpp
cont/setrange1.cpp
cont/set1.cpp
cont/multiset1.cpp
cont/setcmp1.cpp
cont/newkey.hpp
cont/map1.cpp
cont/map2.cpp
cont/multimap1.cpp
cont/mapfind1.cpp
cont/mapcmp1.cpp
cont/hashval.hpp
cont/unordset1.cpp
cont/unordmultiset1.cpp
cont/hashfunc1.cpp
cont/hashfunc2.cpp
cont/buckets.hpp
cont/unordinspect1.cpp
cont/unordmultimap1.cpp
cont/cstylearray1.cpp
cont/cstylearray1old.cpp
cont/refsem1.cpp
cont/refwrap1.cpp
cont/sortset.cpp
cont/sortvec.cpp
cont/print.hpp

09 STL Iterators:

iter/itercategory1.cpp
iter/advance1.cpp
iter/distance1.cpp
iter/iterswap1.cpp
iter/reviter1.cpp
iter/reviter2.cpp
iter/reviter3.cpp
iter/reviter4.cpp
iter/backinserter1.cpp
iter/frontinserter1.cpp
iter/inserter1.cpp
iter/ostreamiter1.cpp
iter/istreamiter1.cpp
iter/advance2.cpp
iter/assoiter.hpp
iter/assoiter1.cpp
iter/print.hpp

10 STL Function Objects and Using Lambdas:

fo/sort1.cpp
fo/sequence1.cpp
fo/sequence2.cpp
fo/foreach3.cpp
fo/removeif1.cpp
fo/bind1.cpp
fo/compose3.cpp
fo/bind2.cpp
fo/fopow.hpp
fo/fopow1.cpp
fo/lambda2.cpp
fo/lambda3.cpp
fo/lambda4.cpp
fo/lambda5.cpp
fo/lambda6.cpp
fo/print.hpp

11 STL Algorithms:

algo/algostuff.hpp
algo/foreach1.cpp
algo/foreach2.cpp
algo/foreach3.cpp
algo/count1.cpp
algo/minmax1.cpp
algo/find1.cpp
algo/find2.cpp
algo/searchn1.cpp
algo/search1.cpp
algo/search2.cpp
algo/findend1.cpp
algo/findof1.cpp
algo/adjacentfind1.cpp
algo/equal1.cpp
algo/ispermutation1.cpp
algo/mismatch1.cpp
algo/lexicocmp1.cpp
algo/issorted1.cpp
algo/ispartitioned1.cpp
algo/isheap1.cpp
algo/allanynone1.cpp
algo/copy1.cpp
algo/copy2.cpp
algo/copy3.cpp
algo/move1.cpp
algo/transform1.cpp
algo/transform2.cpp
algo/swapranges1.cpp
algo/fill1.cpp
algo/generate1.cpp
algo/iota1.cpp
algo/replace1.cpp
algo/replace2.cpp
algo/remove1.cpp
algo/remove2.cpp
algo/unique1.cpp
algo/unique2.cpp
algo/unique3.cpp
algo/reverse1.cpp
algo/rotate1.cpp
algo/rotate2.cpp
algo/permutation1.cpp
algo/shuffle1.cpp
algo/randomshuffle1.cpp
algo/partition1.cpp
algo/partitioncopy1.cpp
algo/sort1.cpp
algo/sort2.cpp
algo/partialsort1.cpp
algo/partialsort2.cpp
algo/nthelement1.cpp
algo/heap1.cpp
algo/binarysearch1.cpp
algo/includes1.cpp
algo/bounds1.cpp
algo/equalrange1.cpp
algo/merge1.cpp
algo/sorted1.cpp
algo/inplacemerge1.cpp
algo/accumulate1.cpp
algo/innerproduct1.cpp
algo/partialsum1.cpp
algo/adjacentdiff1.cpp
algo/relabs1.cpp

12 Other Containers:

contadapt/stack1.cpp
contadapt/Stack.hpp
contadapt/stack2.cpp
contadapt/queue1.cpp
contadapt/Queue.hpp
contadapt/queue2.cpp
contadapt/priorityqueue1.cpp
contadapt/bitset1.cpp
contadapt/bitset2.cpp

13 Strings:

string/string1.cpp
string/string2.cpp
string/stringnumconv1.cpp
string/stringiter1.cpp
string/stringiter2.cpp
string/string3.cpp
string/icstring.hpp
string/icstring1.cpp

14 Regular Expressions:

regex/regex1.cpp
regex/regex2.cpp
regex/regex3.cpp
regex/regexiter1.cpp
regex/regextokeniter1.cpp
regex/regex4.cpp
regex/regexexception.hpp
regex/regex5.cpp

15 I/O Streams:

io/io1.cpp
io/timemanipulator1.cpp
io/sum1.cpp
io/sum2.cpp
io/charcat1.cpp
io/ignore1.hpp
io/ignore1.cpp
io/ignore2.hpp
io/ignore2.cpp
io/fstream1.cpp
io/fstream2.cpp
io/cat1.cpp
io/cat2.cpp
io/sstream1.cpp
io/sstream2.cpp
io/frac1out.hpp
io/frac2out.hpp
io/frac1in.hpp
io/frac2in.hpp
io/streambuffer1.cpp
io/streambuffer2.cpp
io/streamredirect1.cpp
io/streamreadwrite1.cpp
io/charcat2.cpp
io/countlines1.cpp
io/outbuf1.hpp
io/outbuf1.cpp
io/outbuf1i18n.hpp
io/outbuf1i18n.cpp
io/outbuf2.hpp
io/outbuf2.cpp
io/outbuf3.hpp
io/outbuf3.cpp
io/inbuf1.hpp
io/inbuf1.cpp
io/copy1.cpp
io/copy2.cpp

16 Internationalization (I18N):

i18n/loc1.cpp
i18n/loc2.cpp
i18n/germanbool.cpp
i18n/numput.cpp
i18n/numget.cpp
i18n/moneypunct.cpp
i18n/moneymanipulator.cpp
i18n/timeput.cpp
i18n/timeget.cpp
i18n/wstring2string.hpp
i18n/wstring2string.cpp
i18n/wstring2utf8.hpp
i18n/wstring2utf8.cpp
i18n/wbuffer.cpp

17 Numerics:

num/random1.cpp
num/random2.cpp
num/dist1.cpp
num/complex1.cpp
num/complex2.cpp

18 Concurrency:

concurrency/async1.cpp
concurrency/async2.cpp
concurrency/async3.cpp
concurrency/sharedfuture1.cpp
concurrency/thread1.cpp
concurrency/promise1.cpp
concurrency/mutex1.cpp
concurrency/condvar1.cpp
concurrency/condvar2.cpp
concurrency/atomics1.cpp

19 Allocators:

alloc/myalloc11.hpp
alloc/myalloc11.cpp

99 Supplementary Chapter:

contadapt/bitset1.cpp
contadapt/bitset2.cpp
num/valarray1.cpp
num/valarray2.cpp
num/slice1.cpp
num/gslice1.cpp
num/maskarray1.cpp
num/indirectarray1.cpp
alloc/myalloc03.hpp
alloc/myalloc03.cpp