C 17 Stl Cookbook

C 17 Stl Cookbook Book in PDF, ePub and Kindle version is available to download in english. Read online anytime anywhere directly from your device. Click on the download button below to get a free pdf file of C 17 Stl Cookbook book. This book definitely worth reading, it is an incredibly well-written.

C++17 STL Cookbook

Author : Jacek Galowicz
Publisher : Packt Publishing Ltd
Page : 523 pages
File Size : 54,5 Mb
Release : 2017-06-28
Category : Computers
ISBN : 9781787121768

Get Book

C++17 STL Cookbook by Jacek Galowicz Pdf

Over 90 recipes that leverage the powerful features of the Standard Library in C++17 About This Book Learn the latest features of C++ and how to write better code by using the Standard Library (STL). Reduce the development time for your applications. Understand the scope and power of STL features to deal with real-world problems. Compose your own algorithms without forfeiting the simplicity and elegance of the STL way. Who This Book Is For This book is for intermediate-to-advanced C++ programmers who want to get the most out of the Standard Template Library of the newest version of C++: C++ 17. What You Will Learn Learn about the new core language features and the problems they were intended to solve Understand the inner workings and requirements of iterators by implementing them Explore algorithms, functional programming style, and lambda expressions Leverage the rich, portable, fast, and well-tested set of well-designed algorithms provided in the STL Work with strings the STL way instead of handcrafting C-style code Understand standard support classes for concurrency and synchronization, and how to put them to work Use the filesystem library addition available with the C++17 STL In Detail C++ has come a long way and is in use in every area of the industry. Fast, efficient, and flexible, it is used to solve many problems. The upcoming version of C++ will see programmers change the way they code. If you want to grasp the practical usefulness of the C++17 STL in order to write smarter, fully portable code, then this book is for you. Beginning with new language features, this book will help you understand the language's mechanics and library features, and offers insight into how they work. Unlike other books, ours takes an implementation-specific, problem-solution approach that will help you quickly overcome hurdles. You will learn the core STL concepts, such as containers, algorithms, utility classes, lambda expressions, iterators, and more, while working on practical real-world recipes. These recipes will help you get the most from the STL and show you how to program in a better way. By the end of the book, you will be up to date with the latest C++17 features and save time and effort while solving tasks elegantly using the STL. Style and approach This recipe-based guide will show you how to make the best use of C++ together with the STL to squeeze more out of the standard language

Mastering the C++17 STL

Author : Arthur O'Dwyer
Publisher : Packt Publishing Ltd
Page : 379 pages
File Size : 44,6 Mb
Release : 2017-09-28
Category : Computers
ISBN : 9781787288232

Get Book

Mastering the C++17 STL by Arthur O'Dwyer Pdf

This book breaks down the C++ STL, teaching you how to extract its gems and apply them to your programming. About This Book Boost your productivity as a C++ developer with the latest features of C++17 Develop high-quality, fast, and portable applications with the varied features of the STL Migrate from older versions (C++11, C++14) to C++17 Who This Book Is For This book is for developers who would like to master the C++ STL and make full use of its components. Prior C++ knowledge is assumed. What You Will Learn Make your own iterator types, allocators, and thread pools. Master every standard container and every standard algorithm. Improve your code by replacing new/delete with smart pointers. Understand the difference between monomorphic algorithms, polymorphic algorithms, and generic algorithms. Learn the meaning and applications of vocabulary type, product type and sum type. In Detail Modern C++ has come a long way since 2011. The latest update, C++17, has just been ratified and several implementations are on the way. This book is your guide to the C++ standard library, including the very latest C++17 features. The book starts by exploring the C++ Standard Template Library in depth. You will learn the key differences between classical polymorphism and generic programming, the foundation of the STL. You will also learn how to use the various algorithms and containers in the STL to suit your programming needs. The next module delves into the tools of modern C++. Here you will learn about algebraic types such as std::optional, vocabulary types such as std::function, smart pointers, and synchronization primitives such as std::atomic and std::mutex. In the final module, you will learn about C++'s support for regular expressions and file I/O. By the end of the book you will be proficient in using the C++17 standard library to implement real programs, and you'll have gained a solid understanding of the library's own internals. Style and approach This book takes a concise but comprehensive approach to explaining and applying the C++ STL, one feature at a time.

C++17 in Detail

Author : Bartłomiej Filipek
Publisher : Independently Published
Page : 378 pages
File Size : 41,5 Mb
Release : 2019-07-18
Category : Electronic
ISBN : 1798834065

Get Book

C++17 in Detail by Bartłomiej Filipek Pdf

C++17 is a major update to the language and brings many exciting additions and improvements that will change your pre for the better. This book shows you all of the significant changes in the new Standard. I spent hundreds of hours investigating how the new features work to ensure this book is helpful and practical. It will not only save you time but will guide you through lots of nuances of the language and the Standard Library. Among the dozens of C++17's enhancements described in the book, you will learn about the following: Class Template Argument Deduction Structured Bindings Fold Expressions Inline Variables Parallel Algorithms Polymorphic Allocator std::any std::byte std::filesystem std::from_chars std::optional std::string_view std::variant [[nodiscard]] if constexpr If you have experience with C++11/14 and you want to advance to the latest C++ Standard, then pick up the book and start reading. "If you've ever asked 'what's in C++17 and what does it mean for me and my pre?' -- and I hope you have -- then this book is for you." Herb Sutter The book is also available as ebook @Leanpub: https://leanpub.com/cpp17indetail

Beginning C++17

Author : Ivor Horton,Peter Van Weert
Publisher : Apress
Page : 788 pages
File Size : 45,8 Mb
Release : 2018-03-24
Category : Computers
ISBN : 9781484233665

Get Book

Beginning C++17 by Ivor Horton,Peter Van Weert Pdf

Learn how to program using the updated C++17 language. You'll start with the basics and progress through step-by-step examples to become a working C++ programmer. All you need are Beginning C++17 and any recent C++ compiler and you'll soon be writing real C++ programs. There is no assumption of prior programming knowledge. All language concepts that are explained in the book are illustrated with working program examples, and all chapters include exercises for you to test and practice your knowledge. Code downloads are provided for all examples from the text and solutions to the exercises. This latest edition has been fully updated to the latest version of the language, C++17, and to all conventions and best practices of so-called modern C++. Beginning C++17 also introduces the elements of the C++ Standard Library that provide essential support for the C++17 language. What You'll Learn Define variables and make decisions Work with arrays and loops, pointers and references, strings, and more Write your own functions, types, and operators Discover the essentials of object-oriented programming Use overloading, inheritance, virtual functions and polymorphism Write generic function templates and class templates Get up to date with modern C++ features: auto type declarations, move semantics, lambda expressions, and more Examine the new additions to C++17 Who This Book Is For Programmers new to C++ and those who may be looking for a refresh primer on the C++17 programming language in general.

C++17 - The Complete Guide

Author : Nicolai M Josuttis
Publisher : Nicojosuttis
Page : 456 pages
File Size : 48,5 Mb
Release : 2019-09-06
Category : Electronic
ISBN : 3967309177

Get Book

C++17 - The Complete Guide by Nicolai M Josuttis Pdf

All the new language and library features of C++17 (for those who know the previous versions of C++). C++17 is the next evolution in modern C++ programming, which is already now supported by the latest version of gcc, clang, and Visual C++. Although it is not as big a step as C++11, it contains a large number of small and valuable language and library features, which will change the way we program in C++. As usual, not everything is self-explanatory, combining new features gives even more power, and there are hidden traps. This book presents all the new language and library features of C++17. It covers the motivation and context of each new feature with examples and background information. The focus is on how these features impact day-to-day programming, what it means to combine them, and how to benefit from this in practice.

C++ Cookbook

Author : D. Ryan Stephens
Publisher : "O'Reilly Media, Inc."
Page : 592 pages
File Size : 53,7 Mb
Release : 2006
Category : Computers
ISBN : 9780596007614

Get Book

C++ Cookbook by D. Ryan Stephens Pdf

"Solutions and examples for C++ programmers"--Cover.

C++ High Performance

Author : Björn Andrist,Viktor Sehr
Publisher : Packt Publishing Ltd
Page : 362 pages
File Size : 51,9 Mb
Release : 2018-01-31
Category : Computers
ISBN : 9781787124776

Get Book

C++ High Performance by Björn Andrist,Viktor Sehr Pdf

Write code that scales across CPU registers, multi-core, and machine clusters Key Features Explore concurrent programming in C++ Identify memory management problems Use SIMD and STL containers for performance improvement Book Description C++ is a highly portable language and can be used to write both large-scale applications and performance-critical code. It has evolved over the last few years to become a modern and expressive language. This book will guide you through optimizing the performance of your C++ apps by allowing them to run faster and consume fewer resources on the device they're running on without compromising the readability of your code base. The book begins by helping you measure and identify bottlenecks in a C++ code base. It then moves on by teaching you how to use modern C++ constructs and techniques. You'll see how this affects the way you write code. Next, you'll see the importance of data structure optimization and memory management, and how it can be used efficiently with respect to CPU caches. After that, you'll see how STL algorithm and composable Range V3 should be used to both achieve faster execution and more readable code, followed by how to use STL containers and how to write your own specialized iterators. Moving on, you’ll get hands-on experience in making use of modern C++ metaprogramming and reflection to reduce boilerplate code as well as in working with proxy objects to perform optimizations under the hood. After that, you’ll learn concurrent programming and understand lock-free data structures. The book ends with an overview of parallel algorithms using STL execution policies, Boost Compute, and OpenCL to utilize both the CPU and the GPU. What you will learn Benefits of modern C++ constructs and techniques Identify hardware bottlenecks, such as CPU cache misses, to boost performance Write specialized data structures for performance-critical code Use modern metaprogramming techniques to reduce runtime calculations Achieve efficient memory management using custom memory allocators Reduce boilerplate code using reflection techniques Reap the benefits of lock-free concurrent programming Perform under-the-hood optimizations with preserved readability using proxy objects Gain insights into subtle optimizations used by STL algorithms Utilize the Range V3 library for expressive C++ code Parallelize your code over CPU and GPU, without compromising readability Who this book is for If you're a C++ developer looking to improve the speed of your code or simply wanting to take your skills up to the next level, then this book is perfect for you.

C++20 STL Cookbook

Author : Bill Weinman
Publisher : Packt Publishing Ltd
Page : 450 pages
File Size : 53,8 Mb
Release : 2022-05-27
Category : Computers
ISBN : 9781803239057

Get Book

C++20 STL Cookbook by Bill Weinman Pdf

Proven techniques to improve the efficiency of your programs using the Standard Template Library (STL) Key FeaturesBecome familiar with the latest features of C++20 and write better code using the STLReduce the development time for your applications and enable faster deploymentGet up and running with the new and leaner STL capabilities introduced in the latest releaseBook Description Fast, efficient, and flexible, the C++ programming language has come a long way and is used in every area of the industry to solve many problems. The latest version C++20 will see programmers change the way they code as it brings a whole array of features enabling the quick deployment of applications. This book will get you up and running with using the STL in the best way possible. Beginning with new language features in C++20, this book will help you understand the language's mechanics and library features and offer insights into how they work. Unlike other books, the C++20 STL Cookbook takes an implementation-specific, problem-solution approach that will help you overcome hurdles quickly. You'll learn core STL concepts, such as containers, algorithms, utility classes, lambda expressions, iterators, and more, while working on real-world recipes. This book is a reference guide for using the C++ STL with its latest capabilities and exploring the cutting-edge features in functional programming and lambda expressions. By the end of the book C++20 book, you'll be able to leverage the latest C++ features and save time and effort while solving tasks elegantly using the STL. What you will learnUnderstand the new language features and the problems they can solveImplement generic features of the STL with practical examplesUnderstand standard support classes for concurrency and synchronizationPerform efficient memory management using the STLImplement seamless formatting using std::formatWork with strings the STL way instead of handcrafting C-style codeWho this book is for This book is for intermediate to advanced C++ programmers who want to get the most out of the Standard Template Library of C++20, the newest version of C++. Basic knowledge of coding and C++ concepts is necessary to get started with this book.

Hands-On Design Patterns with C++

Author : Fedor G. Pikus
Publisher : Packt Publishing Ltd
Page : 499 pages
File Size : 47,5 Mb
Release : 2019-01-30
Category : Computers
ISBN : 9781788837958

Get Book

Hands-On Design Patterns with C++ by Fedor G. Pikus Pdf

A comprehensive guide with extensive coverage on concepts such as OOP, functional programming, generic programming, and STL along with the latest features of C++ Key FeaturesDelve into the core patterns and components of C++ in order to master application designLearn tricks, techniques, and best practices to solve common design and architectural challenges Understand the limitation imposed by C++ and how to solve them using design patternsBook Description C++ is a general-purpose programming language designed with the goals of efficiency, performance, and flexibility in mind. Design patterns are commonly accepted solutions to well-recognized design problems. In essence, they are a library of reusable components, only for software architecture, and not for a concrete implementation. The focus of this book is on the design patterns that naturally lend themselves to the needs of a C++ programmer, and on the patterns that uniquely benefit from the features of C++, in particular, the generic programming. Armed with the knowledge of these patterns, you will spend less time searching for a solution to a common problem and be familiar with the solutions developed from experience, as well as their advantages and drawbacks. The other use of design patterns is as a concise and an efficient way to communicate. A pattern is a familiar and instantly recognizable solution to specific problem; through its use, sometimes with a single line of code, we can convey a considerable amount of information. The code conveys: "This is the problem we are facing, these are additional considerations that are most important in our case; hence, the following well-known solution was chosen." By the end of this book, you will have gained a comprehensive understanding of design patterns to create robust, reusable, and maintainable code. What you will learnRecognize the most common design patterns used in C++Understand how to use C++ generic programming to solve common design problemsExplore the most powerful C++ idioms, their strengths, and drawbacksRediscover how to use popular C++ idioms with generic programmingUnderstand the impact of design patterns on the program’s performanceWho this book is for This book is for experienced C++ developers and programmers who wish to learn about software design patterns and principles and apply them to create robust, reusable, and easily maintainable apps.

Boost C++ Application Development Cookbook

Author : Antony Polukhin
Publisher : Packt Publishing Ltd
Page : 433 pages
File Size : 53,7 Mb
Release : 2017-08-30
Category : Computers
ISBN : 9781787284838

Get Book

Boost C++ Application Development Cookbook by Antony Polukhin Pdf

Learn to build applications faster and better by leveraging the real power of Boost and C++ About This Book Learn to use the Boost libraries to simplify your application development Learn to develop high quality, fast and portable applications Learn the relations between Boost and C++11/C++4/C++17 Who This Book Is For This book is for developers looking to improve their knowledge of Boost and who would like to simplify their application development processes. Prior C++ knowledge and basic knowledge of the standard library is assumed. What You Will Learn Get familiar with new data types for everyday use Use smart pointers to manage resources Get to grips with compile-time computations and assertions Use Boost libraries for multithreading Learn about parallel execution of different task Perform common string-related tasks using Boost libraries Split all the processes, computations, and interactions to tasks and process them independently Learn the basics of working with graphs, stacktracing, testing and interprocess communications Explore different helper macros used to detect compiler, platform and Boost features In Detail If you want to take advantage of the real power of Boost and C++ and avoid the confusion about which library to use in which situation, then this book is for you. Beginning with the basics of Boost C++, you will move on to learn how the Boost libraries simplify application development. You will learn to convert data such as string to numbers, numbers to string, numbers to numbers and more. Managing resources will become a piece of cake. You'll see what kind of work can be done at compile time and what Boost containers can do. You will learn everything for the development of high quality fast and portable applications. Write a program once and then you can use it on Linux, Windows, MacOS, Android operating systems. From manipulating images to graphs, directories, timers, files, networking – everyone will find an interesting topic. Be sure that knowledge from this book won't get outdated, as more and more Boost libraries become part of the C++ Standard.

Software Architecture with C++

Author : Adrian Ostrowski,Piotr Gaczkowski
Publisher : Packt Publishing Ltd
Page : 522 pages
File Size : 50,6 Mb
Release : 2021-04-23
Category : Computers
ISBN : 9781789612462

Get Book

Software Architecture with C++ by Adrian Ostrowski,Piotr Gaczkowski Pdf

Apply business requirements to IT infrastructure and deliver a high-quality product by understanding architectures such as microservices, DevOps, and cloud-native using modern C++ standards and features Key FeaturesDesign scalable large-scale applications with the C++ programming languageArchitect software solutions in a cloud-based environment with continuous integration and continuous delivery (CI/CD)Achieve architectural goals by leveraging design patterns, language features, and useful toolsBook Description Software architecture refers to the high-level design of complex applications. It is evolving just like the languages we use, but there are architectural concepts and patterns that you can learn to write high-performance apps in a high-level language without sacrificing readability and maintainability. If you're working with modern C++, this practical guide will help you put your knowledge to work and design distributed, large-scale apps. You'll start by getting up to speed with architectural concepts, including established patterns and rising trends, then move on to understanding what software architecture actually is and start exploring its components. Next, you'll discover the design concepts involved in application architecture and the patterns in software development, before going on to learn how to build, package, integrate, and deploy your components. In the concluding chapters, you'll explore different architectural qualities, such as maintainability, reusability, testability, performance, scalability, and security. Finally, you will get an overview of distributed systems, such as service-oriented architecture, microservices, and cloud-native, and understand how to apply them in application development. By the end of this book, you'll be able to build distributed services using modern C++ and associated tools to deliver solutions as per your clients' requirements. What you will learnUnderstand how to apply the principles of software architectureApply design patterns and best practices to meet your architectural goalsWrite elegant, safe, and performant code using the latest C++ featuresBuild applications that are easy to maintain and deployExplore the different architectural approaches and learn to apply them as per your requirementSimplify development and operations using application containersDiscover various techniques to solve common problems in software design and developmentWho this book is for This software architecture C++ programming book is for experienced C++ developers looking to become software architects or develop enterprise-grade applications.

Expert C++

Author : Vardan Grigoryan,Shunguang Wu
Publisher : Packt Publishing Ltd
Page : 591 pages
File Size : 40,9 Mb
Release : 2020-04-10
Category : Computers
ISBN : 9781838554767

Get Book

Expert C++ by Vardan Grigoryan,Shunguang Wu Pdf

Design and architect real-world scalable C++ applications by exploring advanced techniques in low-level programming, object-oriented programming (OOP), the Standard Template Library (STL), metaprogramming, and concurrency Key FeaturesDesign professional-grade, maintainable apps by learning advanced concepts such as functional programming, templates, and networkingApply design patterns and best practices to solve real-world problemsImprove the performance of your projects by designing concurrent data structures and algorithmsBook Description C++ has evolved over the years and the latest release – C++20 – is now available. Since C++11, C++ has been constantly enhancing the language feature set. With the new version, you’ll explore an array of features such as concepts, modules, ranges, and coroutines. This book will be your guide to learning the intricacies of the language, techniques, C++ tools, and the new features introduced in C++20, while also helping you apply these when building modern and resilient software. You’ll start by exploring the latest features of C++, and then move on to advanced techniques such as multithreading, concurrency, debugging, monitoring, and high-performance programming. The book will delve into object-oriented programming principles and the C++ Standard Template Library, and even show you how to create custom templates. After this, you’ll learn about different approaches such as test-driven development (TDD), behavior-driven development (BDD), and domain-driven design (DDD), before taking a look at the coding best practices and design patterns essential for building professional-grade applications. Toward the end of the book, you will gain useful insights into the recent C++ advancements in AI and machine learning. By the end of this C++ programming book, you’ll have gained expertise in real-world application development, including the process of designing complex software. What you will learnUnderstand memory management and low-level programming in C++ to write secure and stable applicationsDiscover the latest C++20 features such as modules, concepts, ranges, and coroutinesUnderstand debugging and testing techniques and reduce issues in your programsDesign and implement GUI applications using Qt5Use multithreading and concurrency to make your programs run fasterDevelop high-end games by using the object-oriented capabilities of C++Explore AI and machine learning concepts with C++Who this book is for This C++ book is for experienced C++ developers who are looking to take their knowledge to the next level and perfect their skills in building professional-grade applications.

Advanced C++ Programming Cookbook

Author : Dr. Rian Quinn
Publisher : Packt Publishing Ltd
Page : 443 pages
File Size : 46,7 Mb
Release : 2020-01-30
Category : Computers
ISBN : 9781838551841

Get Book

Advanced C++ Programming Cookbook by Dr. Rian Quinn Pdf

A recipe-based guide to refining your C++ programming skills with the help of coding best practices, advanced programming concepts, and the latest features of C++17 and C++20 Key FeaturesLearn how to develop and design your own librariesFind solutions to your app development problems and implement them in a highly reusable manner, following library development best practicesExplore advanced C++ features such as containers, coroutines, and modulesBook Description If you think you've mastered C++ and know everything it takes to write robust applications, you'll be in for a surprise. With this book, you'll gain comprehensive insights into C++, covering exclusive tips and interesting techniques to enhance your app development process. You'll kick off with the basic principles of library design and development, which will help you understand how to write reusable and maintainable code. You'll then discover the importance of exception safety, and how you can avoid unexpected errors or bugs in your code. The book will take you through the modern elements of C++, such as move semantics, type deductions, and coroutines. As you advance, you'll delve into template programming - the standard tool for most library developers looking to achieve high code reusability. You'll explore the STL and learn how to avoid common pitfalls while implementing templates. Later, you'll learn about the problems of multithreaded programming such as data races, deadlocks, and thread starvation. You'll also learn high-performance programming by using benchmarking tools and libraries. Finally, you'll discover advanced techniques for debugging and testing to ensure code reliability. By the end of this book, you'll have become an expert at C++ programming and will have gained the skills to solve complex development problems with ease. What you will learnSolve common C++ development problems by implementing solutions in a more generic and reusable wayAchieve different levels of exception safety guarantees by introducing precise declarationsWrite library-quality code that meets professional standardsPractice writing reliable, performant code that exposes consistent behavior in programsUnderstand why you need to implement design patterns and how it’s doneWork with complex examples to understand various aspects of good library designWho this book is for This book is for intermediate and expert-level C++ developers who are looking to explore the lesser known functionalities of the language to improve the efficiency of their code and the way they develop applications. Basic knowledge of object-oriented programming concepts and the Standard Template Library (STL) is assumed.

Modern C++ Programming Cookbook

Author : Marius Bancila
Publisher : Packt Publishing Ltd
Page : 751 pages
File Size : 50,7 Mb
Release : 2020-09-11
Category : Computers
ISBN : 9781800206205

Get Book

Modern C++ Programming Cookbook by Marius Bancila Pdf

A pragmatic recipe book for acquiring a comprehensive understanding of the complexities and core fundamentals of C++ programming Key FeaturesExplore the latest language and library features of C++20 such as modules, coroutines, concepts, and rangesShed new light on the core concepts in C++ programming, including functions, algorithms, threading, and concurrency, through practical self-contained recipesLeverage C++ features like smart pointers, move semantics, constexpr, and more for increased robustness and performanceBook Description C++ has come a long way to be one of the most widely used general-purpose languages that is fast, efficient, and high-performance at its core. The updated second edition of Modern C++ Programming Cookbook addresses the latest features of C++20, such as modules, concepts, coroutines, and the many additions to the standard library, including ranges and text formatting. The book is organized in the form of practical recipes covering a wide range of problems faced by modern developers. The book also delves into the details of all the core concepts in modern C++ programming, such as functions and classes, iterators and algorithms, streams and the file system, threading and concurrency, smart pointers and move semantics, and many others. It goes into the performance aspects of programming in depth, teaching developers how to write fast and lean code with the help of best practices. Furthermore, the book explores useful patterns and delves into the implementation of many idioms, including pimpl, named parameter, and attorney-client, teaching techniques such as avoiding repetition with the factory pattern. There is also a chapter dedicated to unit testing, where you are introduced to three of the most widely used libraries for C++: Boost.Test, Google Test, and Catch2. By the end of the book, you will be able to effectively leverage the features and techniques of C++11/14/17/20 programming to enhance the performance, scalability, and efficiency of your applications. What you will learnUnderstand the new C++20 language and library features and the problems they solveBecome skilled at using the standard support for threading and concurrency for daily tasksLeverage the standard library and work with containers, algorithms, and iteratorsSolve text searching and replacement problems using regular expressionsWork with different types of strings and learn the various aspects of compilationTake advantage of the file system library to work with files and directoriesImplement various useful patterns and idiomsExplore the widely used testing frameworks for C++Who this book is for The book is designed for entry- or medium-level C++ programmers who have a basic knowledge of C++ and want to master the language and become prolific modern C++ developers. Experienced C++ programmers can leverage this book to strengthen their command of C++ and find a good reference to many language and library features of C++11/14/17/20.

The C++ Standard Library

Author : Nicolai M. Josuttis
Publisher : Addison-Wesley
Page : 1190 pages
File Size : 54,8 Mb
Release : 2012-05-25
Category : Computers
ISBN : 9780132977739

Get Book

The C++ Standard Library by Nicolai M. Josuttis Pdf

The Best-Selling C++ Resource Now Updated for C++11 The C++ standard library provides a set of common classes and interfaces that greatly extend the core C++ language. The library, however, is not self-explanatory. To make full use of its components–and to benefit from their power–you need a resource that does far more than list the classes and their functions. The C++ Standard Library: A Tutorial and Reference, Second Edition, describes this library as now incorporated into the new ANSI/ISO C++ language standard (C++11). The book provides comprehensive documentation of each library component, including an introduction to its purpose and design; clearly written explanations of complex concepts; the practical programming details needed for effective use; traps and pitfalls; the exact signature and definition of the most important classes and functions; and numerous examples of working code. The book focuses in particular on the Standard Template Library (STL), examining containers, iterators, function objects, and STL algorithms. The book covers all the new C++11 library components, including Concurrency Fractional arithmetic Clocks and timers Tuples New STL containers New STL algorithms New smart pointers New locale facets Random numbers and distributions Type traits and utilities Regular expressions The book also examines the new C++ programming style and its effect on the standard library, including lambdas, range-based for loops, move semantics, and variadic templates. An accompanying Web site, including source code, can be found at www.cppstdlib.com.