C++20: More Details to the Spaceship Operator

The compiler performs quite a clever job when it generates all six comparison operators. On the end, you get the intuitive and efficient comparison operators for free. Let me dive with this post into the details of the spaceship operator.

Read more
Views: 18242

C++20: The Three-Way Comparison Operator

The three-way comparison operator <=> is often just called spaceship operator. The spaceship operator determines for two values A  and B whether A < B, A = B, or A > B. You can define the spaceship operator or the compiler can auto-generate it for you.

Read more
Views: 59366

Face-to-Face Seminars and Online Seminars are different

Face-to-face seminars and online seminars are different. Both forms have there pros and cons, and none of them is better than the other.

Read more
Views: 2763

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 to 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, C++20
Views: 7200

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, C++20
Views: 12663

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

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

Read more
Tags: modules, C++20
Views: 12627

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, C++20
Views: 10578

Modernes C++ goes Worldwide

I'm happy to announce that I offer English and German online seminars.

Read more
Views: 4105

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, C++20
Views: 32461

C++20: Thread Pools with cppcoro

This post is the third and final post in my miniseries to cppcoro. cppcoro is a library of coroutine abstractions from Lewis Baker. Today, I introduce thread pools.

Read more
Views: 10860

My Newest E-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

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 4458

Yesterday 7707

Week 27586

Month 232633

All 4853527

Currently are 260 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments