A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience.
This is kind of a neat idea: for any Quantity type Q, we can have a Q::NTTP type, based on enum class, which implicitly converts in both directions with Q, but is valid as a template parameter.
This is kind of a neat idea: for any
Quantity
typeQ
, we can have aQ::NTTP
type, based onenum class
, which implicitly converts in both directions withQ
, but is valid as a template parameter.