Packt

C++ Lambda Expressions - From C++98 to C++23

Développez vos compétences avec Coursera Plus pour 239 $/an (habituellement 399 $). Économisez maintenant.

Ce cours n'est pas disponible en Français (France)

Nous sommes actuellement en train de le traduire dans plus de langues.
Packt

C++ Lambda Expressions - From C++98 to C++23

Inclus avec Coursera Plus

 

En savoir plus

Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

6 heures à compléter
Planning flexible
Apprenez Ă  votre propre rythme
Obtenez un aperçu d'un sujet et apprenez les principes fondamentaux.
niveau Intermédiaire

Expérience recommandée

6 heures à compléter
Planning flexible
Apprenez Ă  votre propre rythme

Ce que vous apprendrez

  • Learn how to effectively use function pointers and function objects in real-world scenarios.

  • Master the features and syntax of C++ lambda expressions from C++11 to C++23.

  • Understand the differences between capturing by value, reference, and constants in lambdas.

  • Apply advanced lambda techniques such as recursion, static lambdas, and optimizations for better performance.

Compétences que vous acquerrez

  • CatĂ©gorie : C and C++
  • CatĂ©gorie : Functional Design
  • CatĂ©gorie : Performance Tuning
  • CatĂ©gorie : Maintainability
  • CatĂ©gorie : Object Oriented Programming (OOP)
  • CatĂ©gorie : Debugging
  • CatĂ©gorie : Event-Driven Programming

Outils que vous découvrirez

  • CatĂ©gorie : C++ (Programming Language)

Détails à connaître

Certificat partageable

Ajouter Ă  votre profil LinkedIn

Récemment mis à jour !

mars 2026

Évaluations

8 devoirs

Enseigné en Anglais

Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

 logos de Petrobras, TATA, Danone, Capgemini, P&G et L'Oreal

Il y a 7 modules dans ce cours

In this module, we will introduce the course structure, roadmap, and objectives. You will gain an understanding of how mastering C++ callable entities like function pointers, function objects, and lambdas will enhance your coding proficiency. This section will set the foundation for exploring the power of C++ features from C++98 to C++23.

Inclus

1 vidéo1 lecture

In this module, we will cover the fundamentals of function pointers, from basic syntax to advanced examples. You’ll learn how to use function pointers for flexible, dynamic execution and understand callbacks and pointers to member functions in the context of C++ programming. This section will equip you with essential skills for implementing responsive, event-driven programs.

Inclus

5 vidéos1 devoir

In this module, we will explore function objects (also known as functors), comparing them with function pointers. We will show you how to craft efficient, reusable callable entities and teach techniques to refine these objects for improved performance. By the end of this section, you'll be equipped to leverage the full potential of function objects.

Inclus

5 vidéos1 devoir

In this module, we will dive deep into the core features of C++11 lambdas. You’ll learn how to use capture lists, different capture methods (by reference, by value), and lambda conversions. With examples of Immediately Invoked Function Expressions (IIFE), you will be able to use lambdas effectively to create clean and compact code.

Inclus

13 vidéos1 devoir

In this module, we will explore how C++14 and C++17 enhanced lambda expressions. You’ll learn about generic lambdas, generalized lambda captures, and constexpr lambdas for performing compile-time computations. These advanced features will take your lambda skills to the next level, making your code more flexible and efficient.

Inclus

4 vidéos1 devoir

In this module, we will focus on the advancements introduced in C++20, including implicit capture of this in lambdas, template type parameters, and constraints with concepts. These new features allow you to write more elegant and type-safe lambda expressions, improving both the performance and maintainability of your code.

Inclus

7 vidéos1 devoir

In this module, we will explore the cutting-edge lambda features introduced in C++23. You will learn how to implement static lambdas, apply recursive lambda patterns, and add attributes to lambdas for optimization. This section will help you harness the latest tools to write more powerful and efficient lambdas.

Inclus

6 vidéos3 devoirs

Instructeur

Packt - Course Instructors
Packt
1 608 Cours 446 194 apprenants

Offert par

Packt

En savoir plus sur Software Development

Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?

Felipe M.

Étudiant(e) depuis 2018
’Pouvoir suivre des cours à mon rythme à été une expérience extraordinaire. Je peux apprendre chaque fois que mon emploi du temps me le permet et en fonction de mon humeur.’

Jennifer J.

Étudiant(e) depuis 2020
’J'ai directement appliqué les concepts et les compétences que j'ai appris de mes cours à un nouveau projet passionnant au travail.’

Larry W.

Étudiant(e) depuis 2021
’Lorsque j'ai besoin de cours sur des sujets que mon université ne propose pas, Coursera est l'un des meilleurs endroits où se rendre.’

Chaitanya A.

’Apprendre, ce n'est pas seulement s'améliorer dans son travail : c'est bien plus que cela. Coursera me permet d'apprendre sans limites.’
Coursera Plus

Ouvrez de nouvelles portes avec Coursera Plus

Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.

Faites progresser votre carrière avec un diplôme en ligne

Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne

Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires

Améliorez les compétences de vos employés pour exceller dans l’économie numérique

Foire Aux Questions