Using Units, Qantities, and Dimensions in C++14
summary
Shows how to represent physical quantities in C++ types (dimensions, units and numeric values) to avoid using plain float/double for things like velocity. Compares Boost.Units with a newer C++11/C++14 header-only library (Martin Moene’s PhysUnits modernized to C++14), gives a short DIY guideline for using a compile-time units library and demonstrates code examples and conversions (m/s, km/h, knots).
AI-written summary · about
related talks
01h 30mEnhancing Safety in C++ Code With Modern C++ Quantities and Units Library
01h 03mHow to Improve the Safety of C++ Code With a Quantities & Units Library
01h 08mA Physical Units Library For the Next C++
01h 31mImplementing Physical Units Library for C++
01h 02mA Physical Units Library For C++
01h 23mThe Power of C++ Templates With mp-units: Lessons Learned & a New Library Design
55mTaking Static Type-safety to the Next Level: Physical Units for Matrices
01h 03mTaking Static Type-Safety to the Next Level - Physical Units for Matrices
