Skip to content

C++ header only library for std::chrono style distance units.

Notifications You must be signed in to change notification settings

jkorinth/metric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metric - std::chrono-style distance units {#mainpage}

This header-only C++ library provides SI distance units (meters, millimeters, kilometers, ...) in the style of the std::chrono::duration types. They support standard arithmetic and relational operators, as well as unit mixing with automatic compile-time type computation, and unit conversions.

See API documentation under https://jkorinth.github.io/metric.