cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
<ratio>

Backports related to Standard header <ratio>

(or automatically by including <cxxomfort/backports.hpp> / <cxxomfort/cxxomfort.hpp>)

Interfaces

The following interfaces are provided by this header:

SI prefixes

C++11 <ratio> also provides a number of convenience typedefs representing SI ratio/factor prefixes such as mega or centi . Some of those names are also exposed by cxxomfort:

As of this release the prefixes higher than 10^18 or smaller than 10^-18, such as yotta , are not provided.

See Also

See also
header/ratio @ cppreference (cppreference)