Explore the C++ 23 STL with practical guidance on vectors, algorithms, and custom types for intermediate developers, enriched by real-world examples.Key FeaturesMaster the std:: vector and understand why it should be your default container of choiceUnderstand each STL algorithm and its practical applicationsGain insights into advanced topics such as exception guarantees and thread safetyPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionWhile the Standard Template Library (STL) offers a rich set of tools for data structures and algorithms, navigating its intricacies can be daunting for intermediate C++ developers without expert guidance.
Author(s): John Farrier
458 Pages
Computers + Internet, Programming Languages
Description
About the Book
Data Structures and Algorithms with C++ STL is your guide to mastering the std:: vector, memory management, and algorithm intricacies.
Book Synopsis
Explore the C++ 23 STL with practical guidance on vectors, algorithms, and custom types for intermediate developers, enriched by real-world examples.
Key Features
Master the std:: vector and understand why it should be your default container of choice
Understand each STL algorithm and its practical applications
Gain insights into advanced topics such as exception guarantees and thread safety
Purchase of the print or Kindle book includes a free PDF eBook
Book Description
While the Standard Template Library (STL) offers a rich set of tools for data structures and algorithms, navigating its intricacies can be daunting for intermediate C++ developers without expert guidance. This book offers a thorough exploration of the STL's components, covering fundamental data structures, advanced algorithms, and concurrency features.
Starting with an in-depth analysis of the std:: vector, this book highlights its pivotal role in the STL, progressing toward building your proficiency in utilizing vectors, managing memory, and leveraging iterators. The book then advances to STL's data structures, including sequence containers, associative containers, and unordered containers, simplifying the concepts of container adaptors and views to enhance your knowledge of modern STL programming. Shifting the focus to STL algorithms, you'll get to grips with sorting, searching, and transformations and develop the skills to implement and modify algorithms with best practices. Advanced sections cover extending the STL with custom types and algorithms, as well as concurrency features, exception safety, and parallel algorithms.
By the end of this book, you'll have transformed into a proficient STL practitioner ready to tackle real-world challenges and build efficient and scalable C++ applications.
What you will learn
Streamline data handling using the std:: vector
Master advanced usage of STL iterators
Optimize memory in STL containers
Implement custom STL allocators
Apply sorting and searching with STL algorithms
Craft STL-compatible custom types
Manage concurrency and ensure thread safety in STL
Harness the power of parallel algorithms in STL
Who this book is for
This book is for intermediate-level C++ developers looking to enhance their software development skills. Familiarity with basic C++ syntax and object-oriented programming (OOP) as well as some exposure to data structures and algorithms is assumed.
Tailored to software engineers, computer science students, and hobbyist programmers, this book delves into C++ STL for practical application, performance enhancement, and efficient coding practices.
Table of Contents
The Basics of std:: vector
Mastering Iterators with std:: vector
Mastering Memory and Allocators with std:: vector
Mastering Algorithms with std:: vector
Making a Case for std:: vector
Advanced Sequence Container Usage
Advanced Ordered Associative Container Usage
Advanced Unordered Associative Container Usage
Advanced Container Adaptor Usage
Advanced Container View Usage
Fundamental Algorithms and Searching
Manipulation and Transformation
Numeric and Range-Based Operations
Permutations, Partitions, and Heaps
STL with Ranges
Creating STL-Types Containers
Creating STL-Compatible Algorithms
Type Traits and Policies
Exception Safety
Thread Safety and Concurrency with the STL
STL Interaction with Concepts and Coroutines
Parallel Algorithms with the STL
Dimensions (Overall): 9.25 Inches (H) x 7.5 Inches (W) x .93 Inches (D)
Weight: 1.72 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 458
Genre: Computers + Internet
Sub-Genre: Programming Languages
Publisher: Packt Publishing
Theme: C++
Format: Paperback
Author: John Farrier
Language: English
Street Date: February 29, 2024
TCIN: 91823144
UPC: 9781835468555
Item Number (DPCI): 247-49-6731
Origin: Made in the USA or Imported
If the item details aren’t accurate or complete, we want to know about it.
Shipping details
Estimated ship dimensions: 0.93 inches length x 7.5 inches width x 9.25 inches height
Estimated ship weight: 1.72 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO, Alaska, Hawaii
Return details
This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, delivered to the guest, delivered by a Shipt shopper, or picked up by the guest.