The standard template library pdf




















How to use the templates available for compute-intensive numerical data processing. How to create and use pseudo-random number generators with distribution objects. Programmer Books. Random Books. Articulate Storyline Essentials. Score: 4. It presents a thorough overview of the capabilities of the STL, detailed discussions of the use of containers, descriptions of the algorithms and how they may be used, and how the STL may be extended.

Explains ideas underlying generic programming and shows how to create algorithms decoupled from the types and data structures they operate on, and how to write more efficient code that can be used and reused across platforms. Annotation copyrighted by Book News, Inc. Generic programs often embody non-traditional kinds of polymorphism; ordinary programs are obtained from them by suitably instantiating their parameters.

In contrast with normal programs, the parameters of a generic program are often quite rich in structure; for example, they may be other programs, types or type constructors, class hierarchies, or even programming paradigms. Generic programming techniques have always been of interest, both to practitioners and to theoreticians, but only recently have generic programming techniques become a specific focus of research in the functional and object-oriented programming language communities.

With contributions from leading researchers around the world, this volume captures the state of the art in this important emerging area. The 20 revised full papers were carefully reviewed for inclusion in the book. As the first book entirely devoted to the new paradigm of generic programming, this collection offers topical sections on foundations and methodology comparisons, programming methodology, language design, and applications. You'll learn how to create containers, and how iterators are used with them to access, modify, and extend the data elements they contain.

You'll also learn about stream iterators that can transfer data between containers and streams, including file streams. The function templates that define algorithms are explained in detail, and you'll learn how to pass function objects or lambda expressions to them to customize their behavior. Many working examples are included to demonstrate how to apply the algorithms with different types of containers.

You'll be able to combine the class and function templates to great effect in dealing with real-world problems. The STL is also an example of generic. You who like to read, this is highly recomended to you. Suitable for you book lovers. You do not have to go to a bookstore or library.

Because on this site available various books you are looking for. Start watching. You'll learn how to use containers and iterators, as well as how to define, create and apply algorithms. You'll learn how to create containers, and how iterators are used with them to access, modify, and extend the data elements they contain. You'll also learn about stream iterators that can transfer data between containers and streams, including file streams.

The function templates that define algorithms are explained in detail, and you'll learn how to pass function objects or lambda expressions to them to customize their behavior.

Many working examples are included to demonstrate how to apply the algorithms with different types of containers. You'll be able to combine the class and function templates to great effect in dealing with real-world problems. Skip to main content Skip to table of contents. Advertisement Hide.



0コメント

  • 1000 / 1000