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

YouTube

Building C++ Interfaces That Are Hard to Use Incorrectly

ACCU Conference via YouTube

Overview

Explore techniques for designing robust C++ library interfaces that minimize user errors and catch common mistakes at compile-time in this comprehensive conference talk from ACCU 2023. Delve into clever uses of the C++ type system to create interfaces that are inherently resistant to misuse, reducing the likelihood of undefined behavior and unpredictable results. Learn to distinguish between different categories of preconditions and leverage the type system to prevent accidental violations at run-time. Examine practical code samples demonstrating how type-based techniques can prevent interface misuse, and consider the trade-offs involved in this approach. Gain insights from Andreas Weis, an experienced automotive software developer and Munich C++ User Group organizer, on creating portable code and exposing complex functionalities through simple, richly-typed interfaces.

Syllabus

Building C++ Interfaces That Are Hard to Use Incorrectly - Andreas Weis - ACCU 2023

Taught by

ACCU Conference

Reviews

Start your review of Building C++ Interfaces That Are Hard to Use Incorrectly

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.