~/talk

“Boost Units Library for Correct Code"

Talkat CppCon 2015 · 2015-09-21..09-25· [software-architecture]
links:none on file
slides:none on file

Shows the Boost.Units library delivering zero runtime dimensional checks and automatic unit conversion in C++ so expressions carry real physical types, using quantity types and the library’s static factory (e.g. quantity::from_value) to initialize values. Compiles catch mistakes (divide vs multiply) and the library generates derived units and lets you add custom units like fuel consumption_rate (m^3/s) and conversions to gallons/minute, but implicit unit casts fail by design so conversions require static_cast, docs are exhaustive yet hard to follow.

AI-written summary · about

  1. 0:00Introduction to Boost Units
  2. 2:54Simple Manual Type Checking
  3. 5:53Implementing Manual Checking
  4. 10:59Introduction to Boost Units
  5. 14:18Using the Units Library
  6. 19:14Library Core Concepts
  7. 22:47Quantity Initialization
  8. 30:31Real-world Disaster Analysis
  9. 32:31Unit Conversion Details
  10. 41:11Library Benefits and Limitations
  11. 47:39Documentation Challenges
  12. 52:55Creating Custom Units
  13. 58:00Future Development and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.