diff --git a/src/Set.h b/src/Set.h index 2e077ccb1..439e9a56c 100644 --- a/src/Set.h +++ b/src/Set.h @@ -92,6 +92,11 @@ template class Set { return *this; } + /** @brief Set complement */ + inline constexpr Set operator~() const { + return Set(~value); + } + /** @brief Value in underlying type */ inline constexpr explicit operator UnderlyingType() const { return value;