STL Pocket Reference: Containers, Iterators, and Algorithms

The STL Pocket Reference describes the functions, classes, and templates in that part of the C++ standard library often referred to as the Standard Template Library (STL). The STL encompasses containers, iterators, algorithms, and function objects, which collectively represent one of the most important and widely used subsets of standard library functionality.The C++ standard library, even the subset known as the STL, is vast. It's next to impossible to work with the STL without some sort of reference at your side to remind you of template parameters, function invocations, return types--indeed, the entire myriad of details you need to know in order to use the STL effectively and get work done. You need a memory-aid.Books that cover the standard library and the STL tend to be quite heavy and large, describing each aspect of the STL in detail. Such books are great when you're not familiar with the library, but get in the way when you simply need to remind yourself of a function name, or the order in which you pass arguments to a function. Programmers familiar with the STL need a small, lightweight memory-aid. That's what the STL Pocket Reference is. It's small, lightweight, and chock-full of information that you can take in at a glance, so you can get on with your work.

1140203096
STL Pocket Reference: Containers, Iterators, and Algorithms

The STL Pocket Reference describes the functions, classes, and templates in that part of the C++ standard library often referred to as the Standard Template Library (STL). The STL encompasses containers, iterators, algorithms, and function objects, which collectively represent one of the most important and widely used subsets of standard library functionality.The C++ standard library, even the subset known as the STL, is vast. It's next to impossible to work with the STL without some sort of reference at your side to remind you of template parameters, function invocations, return types--indeed, the entire myriad of details you need to know in order to use the STL effectively and get work done. You need a memory-aid.Books that cover the standard library and the STL tend to be quite heavy and large, describing each aspect of the STL in detail. Such books are great when you're not familiar with the library, but get in the way when you simply need to remind yourself of a function name, or the order in which you pass arguments to a function. Programmers familiar with the STL need a small, lightweight memory-aid. That's what the STL Pocket Reference is. It's small, lightweight, and chock-full of information that you can take in at a glance, so you can get on with your work.

7.99 In Stock
STL Pocket Reference: Containers, Iterators, and Algorithms

STL Pocket Reference: Containers, Iterators, and Algorithms

by Ray Lischner
STL Pocket Reference: Containers, Iterators, and Algorithms

STL Pocket Reference: Containers, Iterators, and Algorithms

by Ray Lischner

eBook

$7.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

The STL Pocket Reference describes the functions, classes, and templates in that part of the C++ standard library often referred to as the Standard Template Library (STL). The STL encompasses containers, iterators, algorithms, and function objects, which collectively represent one of the most important and widely used subsets of standard library functionality.The C++ standard library, even the subset known as the STL, is vast. It's next to impossible to work with the STL without some sort of reference at your side to remind you of template parameters, function invocations, return types--indeed, the entire myriad of details you need to know in order to use the STL effectively and get work done. You need a memory-aid.Books that cover the standard library and the STL tend to be quite heavy and large, describing each aspect of the STL in detail. Such books are great when you're not familiar with the library, but get in the way when you simply need to remind yourself of a function name, or the order in which you pass arguments to a function. Programmers familiar with the STL need a small, lightweight memory-aid. That's what the STL Pocket Reference is. It's small, lightweight, and chock-full of information that you can take in at a glance, so you can get on with your work.


Product Details

ISBN-13: 9781491947531
Publisher: O'Reilly Media, Incorporated
Publication date: 10/15/2003
Series: Pocket Reference (O'Reilly)
Sold by: Barnes & Noble
Format: eBook
Pages: 130
File size: 1 MB

About the Author

Ray Lischner began his career as a software developer, but dropped out of the corporate rat race to become an author. He started using C++ in the late 1980s, working at a company that was rewriting its entire product line in C++. Over the years, he has witnessed the evolution of C++ from cfront to native compilers to integrated development environments to visual, component-based tools. Ray has taught C++ at Oregon State University. He is the author of Delphi in a Nutshell and O'Reilly's upcoming C++ in a Nutshell, as well as other books.

Table of Contents

Introduction1
Containers3
Standard Containers4
Container Adapters6
Values6
Common Members7
Exceptions16
Deques17
Lists18
Maps20
Priority Queues22
Queues23
Sets24
Stacks25
Strings26
Vectors38
Iterators39
Iterator Categories40
Using Iterators41
Iterator Traits43
@const_iterators45
Insertion Iterators46
I/O Stream Iterators47
Raw Storage Iterator53
Reverse Iterators54
Iterator Function Templates58
Algorithms59
Nonmodifying Operations61
Comparison61
Searching63
Binary Search65
Modifying Sequence Operations66
Uninitialized Sequence Operations71
Sorting72
Merging74
Set Operations74
Heap Operations76
Permutations78
Miscellaneous78
Numerics79
Function Objects80
Using Functors80
Functor Foundations82
Adapters83
Binders86
Arithmetic and Logical Functors87
Comparison Functors88
Miscellaneous89
Allocators89
Bitset92
Pairs95
Smart Pointer96
Boost98
Arrays99
Dynamic Bitsets100
Binders100
Composition102
Adapters103
Functional Header Replacement103
Lambda Functions104
Smart Pointers104
Index107
From the B&N Reads Blog

Customer Reviews