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
947 stars 135 forks source link

Normalize `std::enable_if_t` usage in template parameter lists #187

Closed JohelEGP closed 5 years ago

JohelEGP commented 5 years ago

Prefer std::enable_if_t<..., int> = 0 to class = std::enable_if_t<...> as it works more generally.