Mastering C++ Standard Library Features [Video]

Preview in Mapt

Mastering C++ Standard Library Features [Video]

Vittorio Romeo

Harness the power of the C++ STL and make full use of its components

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
Video
$106.25
RRP $124.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$106.25
$29.99 p/m after trial
RRP $124.99
Subscription
Video
Start 14 Day Trial

Frequently bought together


Mastering C++ Standard Library Features [Video] Book Cover
Mastering C++ Standard Library Features [Video]
$ 124.99
$ 106.25
Go Standard Library Solutions [Video] Book Cover
Go Standard Library Solutions [Video]
$ 124.99
$ 106.25
Buy 2 for $35.00
Save $214.98
Add to Cart

Video Details

ISBN 139781788294256
Course Length6 hours 12 minutes

Video Description

C++ has come a long way and has now been adopted in several contexts with the latest updates of the STL and with C++17 on its way.

This video course will take you through C++'s Standard library and the most important features of C++11/14/17. You will begin with new language features and will gradually move on to library components and then to the traps and pitfalls and ways to avoid them. You will learn about STL components such as <utility>, smart pointers, `std::function`, `std::move`, and `std::exchange`, while at the same time reinforcing and deepening your understanding of the new language features. From here, you will learn to examine containers, iterators, function objects, with STL algorithms and lambda expressions. You will also be introduced to some upcoming C++17 additions including language features such as `constexpr` lambdas, and library additions such as the new algebraic data types and metaprogramming utilities. Throughout the course, you will learn the common pitfalls in "old" C++ programming and best practices for software development in Modern C++.

By the end of the course, you will have mastered Modern C++'s most impactful language and library features.

Style and Approach

In this course, we will analyze and demystify some of the major new features such as move semantics, variadic templates, and lambdas: being familiar with them is key to produceing readable and maintainable code of higher quality. We will also cover new techniques that allow computations to be performed at compile-time. The course introduces various new language features and demonstrates their synergy with the Standard Library. Game-changing features such as move semantics and smart pointers will be analyzed in depth, providing a strong understanding of the way they work. Lambda expressions and their interactions with the STL will be demystified, while providing many useful real-world examples. This course covers a very diverse set of topics and features (from C++11, C++14, and C++17) that are very impactful on their own, but even better combined together ;– every developer's toolbox will be enriched with many new techniques and ideas to tackle any kind of problem in an elegant, robust, safe, and efficient manner

Table of Contents

Value Categories and Move Semantics
The Course Overview
Lvalues and Rvalues
Move Semantics
Practical Uses of std::move
Value Categories: The Full Picture
Perfect Forwarding
Smart pointers
Smart Pointers – What Problem Do They Solve?
std::unique_ptr
std::shared_ptr and std::weak_ptr
Smart Pointers: Guidelines
Creating Movable Classes
Standard Library Support for Movable Types
Rule of Five and Rule of Zero
Example: Implemeting std::vector
Discover Lambdas
Lambda Expressions: What Are They?
Lambdas: Function Objects in Disguise
Anatomy of a Lambda
Lambdas as First-Class Citizens
Lambdas: Versatile Tools
Storing Callable Objects
Passing Functions to Functions
Mastering Lambdas
Lambdas and The Standard Library
Lambdas as Local Functions
Safer Interfaces with Higher-Order Functions
Programming at Compile-Time
Constant Expressions
`constexpr` in The Standard Library
Exceptions in `constexpr` Functions
Computations on Types
Metafunctions
Metaprogramming Utilities in the Standard Library
Example: Creating a Compile-Time Set Data Structure

What You Will Learn

  • Analyze and demystify some major new features such as move semantics, variadic templates, and lambdas
  • Learn about new core language features and the problems they were intended to solve
  • Discover new techniques that allow computations to be performed at compile-time
  • Create safer and more convenient interfaces, without any extra hidden cost
  • Improve your code by replacing new/delete with smart pointers
  • Get well versed with the C++ STL and make full use of its components

Authors

Table of Contents

Value Categories and Move Semantics
The Course Overview
Lvalues and Rvalues
Move Semantics
Practical Uses of std::move
Value Categories: The Full Picture
Perfect Forwarding
Smart pointers
Smart Pointers – What Problem Do They Solve?
std::unique_ptr
std::shared_ptr and std::weak_ptr
Smart Pointers: Guidelines
Creating Movable Classes
Standard Library Support for Movable Types
Rule of Five and Rule of Zero
Example: Implemeting std::vector
Discover Lambdas
Lambda Expressions: What Are They?
Lambdas: Function Objects in Disguise
Anatomy of a Lambda
Lambdas as First-Class Citizens
Lambdas: Versatile Tools
Storing Callable Objects
Passing Functions to Functions
Mastering Lambdas
Lambdas and The Standard Library
Lambdas as Local Functions
Safer Interfaces with Higher-Order Functions
Programming at Compile-Time
Constant Expressions
`constexpr` in The Standard Library
Exceptions in `constexpr` Functions
Computations on Types
Metafunctions
Metaprogramming Utilities in the Standard Library
Example: Creating a Compile-Time Set Data Structure

Video Details

ISBN 139781788294256
Course Length6 hours 12 minutes
Read More

Read More Reviews

Recommended for You

Go Standard Library Solutions [Video] Book Cover
Go Standard Library Solutions [Video]
$ 124.99
$ 106.25
Mastering Multithreading with C++ [Video] Book Cover
Mastering Multithreading with C++ [Video]
$ 124.99
$ 106.25
Learn C# With Windows Forms and SQL Server [Video] Book Cover
Learn C# With Windows Forms and SQL Server [Video]
$ 98.99
$ 84.15
Artificial Intelligence with Python – Sequence Learning [Video] Book Cover
Artificial Intelligence with Python – Sequence Learning [Video]
$ 124.99
$ 106.25
Using Spring and Angular for Web Application [Video] Book Cover
Using Spring and Angular for Web Application [Video]
$ 124.99
$ 106.25
Tensorflow Solutions for Text [Video] Book Cover
Tensorflow Solutions for Text [Video]
$ 124.99
$ 106.25