Skip to content Skip to sidebar Skip to footer

Mastering In C Pdf Free Download

Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.

Your request to send this item has been completed.

Your list has reached the maximum number of items. Please create a new list with a new name; move some items to a new or existing list; or delete some items.

You already recently rated this item.

Your rating has been recorded

Checking...

Mastering the C++17 STL.

Publisher: Birmingham, UNKNOWN : Packt Publishing, 2017.
Edition/Format:  eBook : Document : EnglishView all editions and formats
Summary:

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. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file. Read more...

Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
  • Generic programming.
  • C++
More like this
  • Similar Items

Find a copy online

Links to this item

Close

Add library to Favorites

Please choose whether or not you want other users to be able to see on your profile that this library is a favorite of yours.



Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
O'Dwyer, Arthur.
Mastering the C++17 STL : make full use of the standard library components in C++17.
Birmingham, England ; Mumbai, [India] : Packt, ©2017
v, 365 pages
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Arthur O'Dwyer

ISBN: 1787288234 9781787288232
OCLC Number: 1005541435
Description: 1 online resource (379)
Contents: Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Classical Polymorphism and Generic Programming; Concrete monomorphic functions; Classically polymorphic functions; Generic programming with templates; Summary; Chapter 2: Iterators and Ranges; The problem with integer indices; On beyond pointers; Const iterators; A pair of iterators defines a range; Iterator categories; Input and output iterators; Putting it all together; The deprecated std::iterator; Summary; Chapter 3: The Iterator-Pair Algorithms. A note about headersRead-only range algorithms; Shunting data with std::copy; Variations on a theme --
std::move and std::move_iterator; Complicated copying with std::transform; Write-only range algorithms; Algorithms that affect object lifetime; Our first permutative algorithm: std::sort; Swapping, reversing, and partitioning; Rotation and permutation; Heaps and heapsort; Merges and mergesort; Searching and inserting in a sorted array with std::lower_bound; Deleting from a sorted array with std::remove_if; Summary; Chapter 4: The Container Zoo; The notion of ownership. The simplest container: std::arrayThe workhorse: std::vector; Resizing a std::vector; Inserting and erasing in a std::vector; Pitfalls with vector; Pitfalls with non-noexcept move constructors; The speedy hybrid: std::deque; A particular set of skills: std::list; What are the special skills of std::list?; Roughing it with std::forward_list; Abstracting with std::stack and std::queue; The useful adaptor: std::priority_queue; The trees: std::set and std::map; A note about transparent comparators; Oddballs: std::multiset and std::multimap. The hashes: std::unordered_set and std::unordered_mapLoad factor and bucket lists; Where does the memory come from?; Summary; Chapter 5: Vocabulary Types; The story of std::string; Tagging reference types with reference_wrapper; C++11 and algebraic types; Working with std::tuple; Manipulating tuple values; A note about named classes; Expressing alternatives with std::variant; Visiting variants; What about make_variant? and a note on value semantics; Delaying initialization with std::optional; Revisiting variant; Infinite alternatives with std::any. Std::any versus polymorphic class typesType erasure in a nutshell; std::any and copyability; Again with the type erasure: std::function; std::function, copyability, and allocation; Summary; Chapter 6: Smart Pointers; The origins of smart pointers; Smart pointers never forget; Automatically managing memory with std::unique_ptr; Why C++ doesn't have the finally keyword; Customizing the deletion callback; Managing arrays with std::unique_ptr; Reference counting with std::shared_ptr; Don't double-manage!; Holding nullable handles with weak_ptr.

Abstract:

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. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Reviews

User-contributed reviews

Add a review and share your thoughts with other readers. Be the first.

Add a review and share your thoughts with other readers. Be the first.

Retrieving GoodReads reviews...

Retrieving DOGObooks reviews...


Similar Items

Source: https://www.worldcat.org/title/mastering-the-c17-stl/oclc/1005541435

Posted by: terenceterencepeetrinea0251941.blogspot.com

Post a Comment for "Mastering In C Pdf Free Download"