C++ Modules: Getting Started Today - Lecture
Offered By: CppCon via YouTube
Course Description
Overview
Explore the essentials of C++20 modules in this comprehensive conference talk from CppCon 2023. Gain practical knowledge on implementing modules, understanding their impact on the build process, and adopting best practices for code structure. Learn how to set up module-based projects using CMake, interact with existing header-based code, and navigate common pitfalls. Discover the named modules mechanism, file extension conventions, and techniques for mixing headers with modules. Suitable for developers new to C++20 modules, the talk covers widely available features in modern compilers and build tools, emphasizing real-world applicability and addressing key differences from traditional header-based approaches.
Syllabus
Introduction
Overview
How Modules Work
Exports
Primary
Interface Implementation
Interface Partitions
Building Modules
Additional Magic
Requirements
Rule of Thum
File Extensions
Build Systems
Compiler
Build System
Advice
Global Module Fragment
Mixing Headers and Modules
Include Guard
Export using declarations
Export using headers
Clean interface
Conclusion
Questions
Taught by
CppCon
Related Courses
Object-oriented programmingHigher School of Economics via Coursera Configuring the C/C++ Extension Pack with Visual Studio Code
Coursera Project Network via Coursera SOLID C++
Udemy Migrating to Qt 6
Udemy Master CMake for Cross-Platform C++ Project Building
Udemy