Mastering the C++17 STL
eBook - ePub

Mastering the C++17 STL

,
  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Mastering the C++17 STL

,

About this book

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++17Who This Book Is ForThis 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 DetailModern 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 approachThis book takes a concise but comprehensive approach to explaining and applying the C++ STL, one feature at a time.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Table of contents

  1. Title Page
  2. Copyright
  3. Credits
  4. About the Author
  5. About the Reviewer
  6. www.PacktPub.com
  7. Customer Feedback
  8. Preface
  9. Classical Polymorphism and Generic Programming
  10. Iterators and Ranges
  11. The Iterator-Pair Algorithms
  12. The Container Zoo
  13. Vocabulary Types
  14. Smart Pointers
  15. Concurrency
  16. Allocators
  17. Iostreams
  18. Regular Expressions
  19. Random Numbers
  20. Filesystem

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Mastering the C++17 STL by in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in C++. We have over one million books available in our catalogue for you to explore.