Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
Loading...
Searching...
No Matches
units documentation

The manual for the units library, grouped by what you are trying to do. Every code snippet in these pages compiles under C++23; the runnable ones are drawn from examples/, and the compiler diagnostics shown are captured verbatim from the compilers.

Start with Getting started; the cheat sheet is the API on one page.

Learn

Explain

How-to

Reference

Meta

The generated API reference (classes, namespaces, the full unit list) is published at https://nholthaus.github.io/units/.