Classes C++23 Style - Sebastian Theophil - Meeting C++ 2024 @MeetingCPP
Classes C++23 Style - Sebastian Theophil - Meeting C++ 2024  @MeetingCPP
Uploaded January 2025 | Updated November 2026, 15 hours ago
Classes C++23 Style - Sebastian Theophil - Meeting C++ 2024
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com

Classes are maybe the most important language-feature of C++. It was originally called "C with classes" after all! Classes in C++ have constructors, destructors, base classes, template arguments, attributes etc. But that is just syntax. When we write and read code, a class should have meaning! It represents a value, a container, a resource or a state machine. Starting from these different use cases, I will show the best C++23 practices to define common types of classes. How do we define and constrain the life-cycle of an object? What special member functions should a class define or not define? What are regular types? What are standard layout types? I will cover the spaceship operator, conditionally explicit conversions, C++26 contracts, reference-qualified member functions and deducing this. By starting from common use-cases, I hope to show not only how to use these C++ features but when to use them.
Classes C++23 Style - Sebastian Theophil - Meeting C++ 2024Upcoming C++ trainings by Meeting C++Interview with Guy Davidson - the new ISO C++ convenerCelebrating 14 years of Meeting C++: Meeting C++ and C++ User GroupsInterview with Klaus Iglberger for Meeting C++ 2025LLVM Code Generation - Interview with Author Quentin Colombet - Meeting C++ onlineModern CMake for C++ - Interview with the Author Rafał Świdziński (audio fix)The Misra C++:2023 Guidelines - Richard Kaiser - Meeting C++ 2025Missing (and future?) C++ range concepts - Jonathan Müller - Meeting C++ 2025Vector to Array - Robin Savonen Söderholm - Meeting C++ 2025Meeting C++ 2025 is 8 weeks away!Iterate and Improve to give better talks - Robert Schimkowitsch- Speaking about C++ 2025
Meeting Cpp |

Classes C++23 Style - Sebastian Theophil - Meeting C++ 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER