YoVDO

Library Approaches for Strong Type Aliases

Offered By: CppNow via YouTube

Tags

C++Now Courses C++ Courses Type Safety Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive conference talk on library approaches for creating strong type aliases in C++. Delve into the challenges of using built-in types for specific purposes and learn about a template-based solution for defining distinct types with customizable properties. Discover how this approach can enhance code clarity, prevent confusion in function interfaces, and improve type safety. Gain insights from Anthony Williams, author of "C++ Concurrency in Action," as he presents his library solution and demonstrates its practical applications. Understand the concept of strong typedefs, their benefits in domain-specific programming, and how they compare to use-specific classes like std::duration. Follow along as Williams covers topics such as basic definitions, property definitions, combining properties, hashing, custom properties, and debugging techniques for strong type aliases.

Syllabus

Intro
Library Approaches for Strong Type Aliases
Problem 3
Domain values
One-off values
Common operations
Basic definition
Property definitions
Combining properties
Hashing
Custom properties
Example Uses
Debugging


Taught by

CppNow

Related Courses

Computer Graphics
University of California, San Diego via edX
Intro to Parallel Programming
Nvidia via Udacity
Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera