magic_enum::bitwise_operators Namespace Reference

Functions

template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E operator& (E lhs, E rhs) noexcept
 
template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E & operator&= (E &lhs, E rhs) noexcept
 
template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E operator^ (E lhs, E rhs) noexcept
 
template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E & operator^= (E &lhs, E rhs) noexcept
 
template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E operator| (E lhs, E rhs) noexcept
 
template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E & operator|= (E &lhs, E rhs) noexcept
 
template<typename E , detail::enable_if_t< E, int > = 0>
constexpr E operator~ (E rhs) noexcept
 

Function Documentation

◆ operator&()

constexpr E magic_enum::bitwise_operators::operator& ( lhs,
rhs 
)
constexprnoexcept

Definition at line 1396 of file magic_enum.hpp.

◆ operator&=()

constexpr E& magic_enum::bitwise_operators::operator&= ( E &  lhs,
rhs 
)
constexprnoexcept

Definition at line 1411 of file magic_enum.hpp.

◆ operator^()

constexpr E magic_enum::bitwise_operators::operator^ ( lhs,
rhs 
)
constexprnoexcept

Definition at line 1401 of file magic_enum.hpp.

◆ operator^=()

constexpr E& magic_enum::bitwise_operators::operator^= ( E &  lhs,
rhs 
)
constexprnoexcept

Definition at line 1416 of file magic_enum.hpp.

◆ operator|()

constexpr E magic_enum::bitwise_operators::operator| ( lhs,
rhs 
)
constexprnoexcept

Definition at line 1391 of file magic_enum.hpp.

◆ operator|=()

constexpr E& magic_enum::bitwise_operators::operator|= ( E &  lhs,
rhs 
)
constexprnoexcept

Definition at line 1406 of file magic_enum.hpp.

◆ operator~()

constexpr E magic_enum::bitwise_operators::operator~ ( rhs)
constexprnoexcept

Definition at line 1386 of file magic_enum.hpp.