Using the C++ Standard Template Libraries

Using the C++ Standard Template Libraries

Ainda sem avaliações
2015 · Inglês · Kindle · 3 editions
Adicionar à Estante

Avalie este livro


Exportar Diário de Leitura

Descrição

Using the C++ Standard Template Libraries is a contemporary treatment that teaches the generic programming capabilities that the C++ 14 Standard Library provides. In this book, author Ivor Horton explains what the class and function templates available with C++ 14 do, and how to use them in a practical context. 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. After reading this book, you will understand the scope and power of the templates that the C++ 14 Standard Library includes and how these can greatly reduce the coding and development time for many applications. You'll be able to combine the class and function templates to great effect in dealing with real-world problems. The templates in the Standard Library provide you as a C++ programmer with a comprehensive set of efficiently implemented generic programming tools that you can use for most types of application. This book is for programmers wanting to extend C++ and learn the new APIs and libraries available in the Standard Template Library. Prior experience or knowledge with C++ is recommended.

Detalhes do Livro

Formato Kindle
Páginas 522 páginas
Idioma Inglês
Publicado Sep 29, 2015
Editora Apress
Edições 3 editions
Adicionar à Estante

Avalie este livro


Exportar Diário de Leitura