Pure C++ 20 - raw & unfiltered

所在平台: Udemy

课程主页: https://www.udemy.com/course/purecpp20/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:纯C++20 - 原汁原味 课程概述: 该课程专注于C++20标准的新特性,并不涉及以前标准的基础知识或面向对象编程的基本内容。学习者需要具备基本的C++11知识,以便能够理解课程内容。如果您对现代C++特性不熟悉,可以先参考我的其他课程《完整现代C++》。 本课程将重点讲解新的核心语言和库特性,包括: - 指定初始化器、consteval、consinit、未评估上下文的lambda表达式和枚举用法等。 - 介绍新模块的使用,简化C++代码重用,不再依赖头文件,使代码组织更快速、更方便。 - 学习C++20提供的三向比较运算符(太空船运算符),简化比较运算符的实现,减少出错的可能性。 - 通过新引入的ranges,简化与容器交互的算法使用,消除使用begin()和end()函数的繁琐。 - 学习概念,对模板参数施加约束,相比于SFINAE(enable_if),使用起来更加简单,确保函数接受正确的参数类型,避免运行时错误。 - 探索可恢复函数(协程),通过使用协程,可以在无需同步或多线程的情况下编写并发代码,从而提高性能,减少线程创建与销毁的开销。 课程更新内容包括: - C++20库特性与类的新内容(2024年12月12日) - 并发支持视频(2024年12月7日) - 所有章节的新测验(2024年11月26日) - Ranges部分增加了更多实例视频(2024年11月9日) 如果您准备好开始学习C++20的现代特性,请立刻加入课程!

课程评论(0条)

课程详情

Update [12-Dec-2024] Added content on new C++20 library features & classesUpdate [07-Dec-2024] Added concurrency support videosUpdate [26-Nov-2024] Added quiz for all sectionsUpdate [09-Nov-2024] Added more videos with examples of views in Ranges sectionTHE MOST IN-DEPTH COURSE ON C++20.This course only focuses on the new C++20 standard features without going into the basics or details of previous standards of C++ or basics of object-oriented programming. You must've some basic understanding of C++11 in order to follow through in this course. In case, you're not familiar with modern C++ features, check out my other course called Complete Modern C++.This course will aim to explain the new core language & the library features. You'll learn to use designated initializers, consteval, consinit, unevaluated constext usage of lambda expressions, enum usage, etc. You'll also get to know about the new way through which C++ code is reused without using header files. This is possible through modules, which is a faster and easier way to reuse existing functions or classes.If you implement classes for use with containers, then you'll have to provide implementation of many comparison operators which becomes tedious and error prone. C++20 provides a new operator called the three-way comparison operator (space-ship operator) that simplifies implementation of comparison operators. Additionally, it now becomes easier to use algorithms with containers through ranges. No need to use begin() & end() functions to operate on the container.Concepts is a new way of applying constraints on template arguments. It is much simpler to use as compared to SFINAE (enable_if). Learn & implement concepts to ensure your functions accept the right kind of arguments and avoid runtime errors.You'll learn about resumable functions, called coroutines. Using coroutines, you can write concurrent code without the need for synchronization or multiple threads. This enables you to write high performance code without the overhead of creating & destroying threads.If you're ready, then let's get started right away.

课程标签

0人关注该课程

主题相关的课程