Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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