joboccara / NamedType

Implementation of strong types in C++
MIT License
769 stars 84 forks source link

Any interest in constexpr comparison operators? #27

Open DanGroom opened 5 years ago

DanGroom commented 5 years ago

Looks like it should be easy to expand constexpr-awareness to cover comparison operators. Would there be any interest in a PR?

DanGroom commented 5 years ago

In my fork I've made everything constexpr that can be (I think), and added compile time versions of the tests. https://github.com/DanGroom/NamedType/commits/master

I'm happy to clean it up and submit a PR.