/article-cpp20-modules

Examples and shell scripts for C++20 modules article & video.

Primary LanguageShellMIT LicenseMIT

C++ 20 Modules - Complete Guide

This is a repository containing example code for the C++20 Modules article and videos.

The article: https://itnext.io/c-20-modules-complete-guide-ae741ddbae3d

The video: https://www.youtube.com/watch?v=WRCwciJ5MTE

To test out the code, you can use docker images I created based on the conan docker images.

Download the repository: https://github.com/HappyCerberus/conan-docker-tools

For Clang trunk:

> cd modern
> docker-compose run clang-14

For GCC trunk:

> cd modern
> docker-compose run gcc-12