Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Classes in C++23 Style - Best Practices and Modern Features

Meeting Cpp via YouTube

Overview

Explore modern C++ class design in this conference talk from Meeting C++ 2024, where Sebastian Theophil delves into best practices for implementing different types of classes using C++23 features. Learn how to effectively represent values, containers, resources, and state machines through proper class design, while mastering key concepts like object lifecycle management, special member functions, regular types, and standard layout types. Gain practical insights into implementing the spaceship operator, handling conditionally explicit conversions, working with upcoming C++26 contracts, utilizing reference-qualified member functions, and leveraging the 'deducing this' feature. Discover not just the syntax and mechanics of these advanced C++ features, but understand the contextual reasoning behind when and how to apply them in real-world scenarios.

Syllabus

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

Taught by

Meeting Cpp

Reviews

Start your review of Classes in C++23 Style - Best Practices and Modern Features

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.