• Books
    • Rechnerarchitektur Grundlagen
    • Notebook C++: About move semantics
    • Notebook C++: Tips and Tricks with Templates
    • Programming with C++20 - Concepts, Coroutines, Ranges, and more
    • Publications
  • Courses
    • From C to C++
    • Modern C++: When Efficiency Matters
    • Programming with C++11 to C++17
    • Programming with C++20
    • Safe and Efficient C++ for Embedded Environments
  • Self-Study Courses
    • A day with C++20s coroutines
    • Four Week C++ Coaching Course
    • Mastering C++ Templates Safely
    • Programming with C++17 and C++20
  • Code Review
  • Talks
  • Blog
  • Get In Touch
  • Newsletter
    C++ Insights

    C++ Insights Episode 44: Compilers are lazy, and this is good

    Nov 15, 2023

    I published a new C++ insights episode: Compilers are lazy, and this is good.

    In this episode, you learn that compilers are lazy, for example, when generating special member functions, which is good.

    Source code: https://cppinsights.io/s/48e2e9de

    Andreas

    « When an empty destructor is required
    Why you shouldn't provide an empty destructor »

    About Me

    Andreas Fertig

    Hello! I'm Andreas Fertig, a C++ trainer, and developer. I enjoy exploring the depth of the language and sharing my knowledge. Check out my training classes. Furthermore, I'm the creator of cppinsights.io.
    This is the place where I share my thoughts and announce my public talks and training classes.

    Open-enrollment classes

    • September 13 - 14
      "Safe and Efficient C++ for Embedded Environments", CppCon

    Newsletter

    Sign up for my newsletter and get "C++20 Coroutine Cheat Sheet PDF".

    C++20 Coroutine Cheat Sheet PDF

    Every month I inform you about news about C++, upcoming training classes or other special offers.

    Books

    • Programming with C++20 - Concepts, Coroutines, Ranges, and more
    • Notebook C++ - Tips and Tricks with Templates
    • Notebook C++: About move semantics

    Recent posts

    • A virtual destructor in C++, when?
      Jul 01, 2025
    • CI pipeline improvments for C++ Insights
      Jun 19, 2025
    • C++ Insights Episode 63: Faster C++ Builds: Optimize Templates for Speed
      Jun 18, 2025

    Blog Archive

    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • 2023
    • 2022
    • 2021
    • 2020
    • 2019
    • 2018
    • 2017
    Impressum | Disclaimer | Privacy