bernedom / SI

A header only C++ library that provides type safety and user defined literals for physical units
https://si.dominikberner.ch/doc/
MIT License
486 stars 40 forks source link

Interoperability with std::chrono and std::chrono::duration #139

Open MartyMcFlyInTheSky opened 5 months ago

MartyMcFlyInTheSky commented 5 months ago

How does the time unit in this library compare to std::chrono::time_point and is there something like std::chrono::duration? Are both libraries compatible and are there conversion functions?