nholthaus / units

a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
http://nholthaus.github.io/units/
MIT License
964 stars 137 forks source link

Using intmax_t instead of size_t fixes narrowing conversion on 32bit #322

Open pmaciol opened 1 year ago

pmaciol commented 1 year ago

The update fixes https://github.com/nholthaus/units/issues/308.