Modules

C++20 Modules: Private Module Fragment and Header Units

In the last weeks, I learned something new about modules in C++20: private modules fragments and header units. Consequently, I make a short detour in this post and present these new features.

Read more
Tags: Modules
Views: 21191

C++20: Further Open Questions to Modules

So far, I have written in my last four posts the basics you should know about modules in C++20. Only a few questions about modules are still open. In this post, I address these open questions, such as templates in modules, the linkage of modules, and header units.

Read more
Tags: Modules
Views: 26235

C++20: Structure Modules

When your module becomes bigger, you want to divide its functionality into manageable components. C++20 modules offer two approaches: submodules and partitions. Let me discuss both approaches in this post.

Read more
Tags: Modules
Views: 215111

C++20: Module Interface Unit and Module Implementation Unit

Thanks to the module interface unit and implementation unit, you can separate the interface from the implementation when defining a module. Let me show you how.

Read more
Tags: Modules
Views: 50866

C++20: A Simple math Module

Modules are one of the four prominent features of C++20. They overcome the restrictions of header files and promise a lot: faster build-times, fewer violations of the One-Definition-Rule, less usage of the preprocessor. Today, I want to create a simple math module.

Read more
Tags: Modules
Views: 32645

C++20: The Advantages of Modules

Modules are one of the four big features of C++20: concepts, ranges, coroutines, and modules. Modules promise a lot: compile-time improvement, isolation of macros, the abolition of header files, and ugly workarounds.

Read more
Tags: Modules
Views: 89440

C++20: The Big Four

This post presents you the big four: concepts, ranges, coroutines, and modules.

Read more
Views: 126581

More Details to Modules

 My last post gave you an introduction to modules in C++20. This post shows how to use existing modules.

Read more
Tags: Modules
Views: 46726

Modules

Modules are one of the five prominent features of C++20. Modules will overcome the restrictions of header files. They promise a lot. For example, the separation of header and source files becomes as obsolete as the preprocessor. Ultimately, we will also have faster build times and an easier way to build packages.

Read more
Tags: Modules
Views: 167215

Stay Informed about my Mentoring

 

Mentoring

English Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Course: The All-in-One Guide to C++20

Course: Master Software Design Patterns and Architecture in C++

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 3788

Yesterday 4371

Week 39595

Month 169720

All 12057486

Currently are 141 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments