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
934 stars 134 forks source link

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

Open pmaciol opened 9 months ago

pmaciol commented 9 months ago

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