MCPcopy Create free account
hub / github.com/Neargye/magic_enum / operator~

Function operator~

include/magic_enum/magic_enum.hpp:1497–1499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1495
1496template <typename E, detail::enable_if_t<E, int> = 0>
1497constexpr E operator~(E rhs) noexcept {
1498 return static_cast<E>(~static_cast<underlying_type_t<E>>(rhs));
1499}
1500
1501template <typename E, detail::enable_if_t<E, int> = 0>
1502constexpr E operator|(E lhs, E rhs) noexcept {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected