types/description: add a not-equal operator
This commit is contained in:
parent
eb1c97a519
commit
c7689960be
@ -90,6 +90,14 @@ namespace cruft::types {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//-------------------------------------------------------------------------
|
||||||
|
constexpr bool
|
||||||
|
operator!= (description const &a, description const &b) noexcept
|
||||||
|
{
|
||||||
|
return !(a == b);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct category_traits;
|
struct category_traits;
|
||||||
|
Loading…
Reference in New Issue
Block a user