a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies.
947
stars
135
forks
source link
Make unarary ``operator+()`` and ``operator-()`` ``constexpr`` #226
Closed
alexdewar closed 3 years ago
These two functions can be safely marked
constexpr
.At present, if you try to write:
you get an error.
This PR fixes this.