enum-flags icon indicating copy to clipboard operation
enum-flags copied to clipboard

Add missing operator~

Open cstamatopoulos opened this issue 7 years ago • 1 comments

template <class E> constexpr auto operator~(E e1) noexcept -> typename std::enable_if<flags::is_flags<E>::value, flags::flags<E>>::type{ return ~flags::flags<E>(e1); }

cstamatopoulos avatar Mar 17 '18 00:03 cstamatopoulos

Is there any reason this wasn't included to begin with?

gri1n avatar Dec 18 '18 13:12 gri1n