|
FE 0.9.0
Header-only C++ frontend library
|
#include <type_traits>Go to the source code of this file.
Classes | |
| struct | fe::is_bit_enum< T > |
Namespaces | |
| namespace | fe |
Concepts | |
| concept | fe::BitEnum |
Functions | |
| template<fe::BitEnum E> | |
| constexpr E | operator| (E a, E b) noexcept |
| template<fe::BitEnum E> | |
| constexpr E | operator& (E a, E b) noexcept |
| template<fe::BitEnum E> | |
| constexpr E | operator^ (E a, E b) noexcept |
| template<fe::BitEnum E> | |
| constexpr E | operator~ (E a) noexcept |
| template<fe::BitEnum E> | |
| constexpr E & | operator|= (E &a, E b) noexcept |
| template<fe::BitEnum E> | |
| constexpr E & | operator&= (E &a, E b) noexcept |
| template<fe::BitEnum E> | |
| constexpr E & | operator^= (E &a, E b) noexcept |
| template<fe::BitEnum E> | |
| constexpr bool | fe::has_flag (E value, E flag) noexcept |
Bit operations for enum classs | |
Provides all kind of bit and comparison operators for an enum class Use like this: | |
| template<fe::BitEnum E> | |
| constexpr auto | fe::to_underlying (E e) noexcept |
|
constexprnoexcept |
Definition at line 31 of file enum.h.
References fe::to_underlying().
|
constexprnoexcept |
|
constexprnoexcept |
Definition at line 32 of file enum.h.
References fe::to_underlying().
|
constexprnoexcept |
|
constexprnoexcept |
Definition at line 30 of file enum.h.
References fe::to_underlying().
|
constexprnoexcept |
|
constexprnoexcept |