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
961 stars 137 forks source link

Factor out details of trait macro #155

Closed JohelEGP closed 6 years ago

JohelEGP commented 6 years ago

Moves the details out of the macro. Now all traits use the same templated entity.