Andreas Fertig's Blog
283 FOLLOWERS
Andreas Fertig is an embedded software developer, trainer, and speaker from Stuttgart. He enjoys exploring the depth of the language and sharing his knowledge.
Andreas Fertig's Blog
1d ago
I published a new C++ insights episode: Why you shouldn't have virtual member functions with default parameters.
In this episode, you learn how default parameters work and why you shouldn't put them on virtual member functions.
Source code: https://cppinsights.io/s/1e0e7ae0
Andreas ..read more
Andreas Fertig's Blog
2w ago
I'm happy to announce that C++ Insights is now driven by LLVM/Clang 18! This time, updating to the new Clang version was more straightforward than before. However, I had new obstacles to fight.
I've been using an ARM Mac for some time now, meaning that my main build machine ..read more
Andreas Fertig's Blog
2w ago
In today's post, I will continue where I left off with last month's post C++ top-level qualifiers explained. This time, I will focus on function parameters.
Let's use the code of last month's blog post:
1
2
3
4
5
char robert{}; A
const char amy{}; B
const char* alfred ..read more
Andreas Fertig's Blog
3w ago
Today, I want to share my C++ resources page with you: andreasfertig.com/cpp-resources/.
This page contains books, conference videos, blogs, tools, and other things all about C++. This is a response to various questions I got over the years asking for recommendations. Up until now, this has only been ..read more
Andreas Fertig's Blog
1M ago
I published a new C++ insights episode: Less typing for lambdas in C++23.
In this episode, you learn about a C++23 change that makes you type even less when creating lambdas.
Source code: https://cppinsights.io/s/af3f21a3
Andreas ..read more
Andreas Fertig's Blog
1M ago
In today's post, I would like to address the question, "What is a top-level cv-qualifier, and why is it important to understand?".
Well, the question isn't always phrased that clearly; I'm talking about the essence of the question.
What are cv-qualifiers
First of all, what does cv-qualifier mean? This stands ..read more
Andreas Fertig's Blog
2M ago
I published a new C++ insights episode: Prefer user-defined literals when available.
In this episode, you learn the benefits of user-defined literals.
Source code: https://cppinsights.io/s/59d25e54
Andreas ..read more
Andreas Fertig's Blog
2M ago
The year has already started. If you're interested in working with me at one of my public classes, here is what you need to know.
I will give a one-day online workshop about C++20's coroutines at C++Online: A day with coroutines on March 4th.
Kevin Carpenter did an ..read more
Andreas Fertig's Blog
2M ago
Sometimes the small changes between two C++ standards really bite you. Today's post is about when I got bitten by a change to aggregates in C++20.
A harmless example
Attendees of my training classes usually assume that I know everything. I can say sorry, but that's not the case ..read more
Andreas Fertig's Blog
2M ago
Today, I'll give you updates about C++ Insights on YouTube and other improvements. It actually started back in 2023.
Training class and talk material
If you attended one of my classes, you know most, if not all, slides from a newer standard than C++11 carry a small banner on ..read more