Cover image for Type-Safe Interfaces with Modern C++

Type-Safe Interfaces with Modern C++

Efficient, safe, and expressive usage of the Modern C++ type system

Vittorio Romeo

Created by Vittorio Romeo

Explore how to write safer and more efficient C++ code by leveraging the modern type system. Learn how algebraic data types from the standard library can improve your application's safety, performance, and readability. Gain practical techniques to design reusable interfaces without sacrificing reliability.

Packt | Jun 2018 | 133 min

Start Trial
LevelExpert
CategoriesSoftware Engineering and Architecture, Object-Oriented Programming (OOP) and Related Languages, C/C++

What You Will Learn

You will work through real-world examples that showcase C++17 features and best practices. Each concept is introduced with practical demonstrations, followed by step-by-step explanations of utility implementations. This hands-on approach helps you build confidence in applying these techniques to your own projects.

Key Features

  • Apply algebraic data types to boost code safety and clarity
  • Design flexible interfaces that work with multiple string types
  • Analyze and optimize function parameters for better performance

Target Audience

Perfect for intermediate C++ developers who already know C++11 or C++14 and want to deepen their understanding of C++17. If you aim to write safer, more expressive code and master modern utilities, you'll find the content directly relevant to your goals.

Related courses