joboccara / NamedType

Implementation of strong types in C++
MIT License
766 stars 85 forks source link

Added EqualityComparable skill #76

Open ogrodnikm opened 2 years ago

ogrodnikm commented 2 years ago

It often makes sense for type to be equality comparable but not comparable. This skill has been for a quite some time in a fork of NamedType library we use internally at my company. Naming inspired by https://en.cppreference.com/w/cpp/concepts/equality_comparable.