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

Function operator|

include/magic_enum/magic_enum.hpp:1502–1504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1500
1501template <typename E, detail::enable_if_t<E, int> = 0>
1502constexpr E operator|(E lhs, E rhs) noexcept {
1503 return static_cast<E>(static_cast<underlying_type_t<E>>(lhs) | static_cast<underlying_type_t<E>>(rhs));
1504}
1505
1506template <typename E, detail::enable_if_t<E, int> = 0>
1507constexpr E operator&(E lhs, E rhs) noexcept {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected