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

NDC Conferences

A Physical Units Library For C++

NDC Conferences via YouTube

Overview

Explore the 'mp-units' library, proposed for C++ standardization, in this comprehensive conference talk. Dive into the library's framework, key concepts, and practical applications through numerous code examples. Learn to extend the library with new units, dimensions, and systems of quantities. Discover how to solve real-life problems, improve code safety, and enhance debugging experiences using strong interfaces and unit concepts. Examine performance considerations, user experience improvements, and the benefits of using concepts in C++. Gain insights into defining new units, converting ratios, and implementing new use cases. Understand the library's impact on code clarity, maintainability, and error prevention in physical unit calculations.

Syllabus

Introduction
Agenda
Results
Documentation
Example
Doubles
Boost Units
Implicit Conversion
Labor
Use Case
Return Type
NYX Library
Concepts
Interfaces
Generic Code
Performance
Overhead
User Experience
Trigger Bug
Dimension Mismatch
Doncaster Facility
Debugging Experience
Strong interfaces
Unit concepts
Universal template parameter
Conversions
Meta Programming Tricks
Benefits of Using Concepts
Defining New Units
Converting to Ratio
New Use Cases
Streams
Official Definition
Next Steps
Github
Users

Taught by

NDC Conferences

Reviews

Start your review of A Physical Units Library For C++

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.