types/description: add a not-equal operator

This commit is contained in:
Danny Robson 2019-05-15 13:03:25 +10:00
parent eb1c97a519
commit c7689960be

View File

@ -90,6 +90,14 @@ namespace cruft::types {
}
//-------------------------------------------------------------------------
constexpr bool
operator!= (description const &a, description const &b) noexcept
{
return !(a == b);
}
//-------------------------------------------------------------------------
template <typename T>
struct category_traits;