Namespaces | Functions
magic_enum_flags.hpp File Reference
#include "magic_enum.hpp"
Include dependency graph for magic_enum_flags.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 magic_enum
 
 magic_enum::detail
 

Functions

template<typename E , typename BinaryPredicate = std::equal_to<>>
constexpr auto magic_enum::enum_flags_cast (string_view value, [[maybe_unused]] BinaryPredicate p={}) noexcept(detail::is_nothrow_invocable< BinaryPredicate >()) -> detail::enable_if_t< E, optional< std::decay_t< E >>, BinaryPredicate >
 
template<typename E >
constexpr auto magic_enum::enum_flags_cast (underlying_type_t< E > value) noexcept -> detail::enable_if_t< E, optional< std::decay_t< E >>>
 
template<typename E >
constexpr auto magic_enum::enum_flags_contains (E value) noexcept -> detail::enable_if_t< E, bool >
 
template<typename E , typename BinaryPredicate = std::equal_to<>>
constexpr auto magic_enum::enum_flags_contains (string_view value, BinaryPredicate p={}) noexcept(detail::is_nothrow_invocable< BinaryPredicate >()) -> detail::enable_if_t< E, bool, BinaryPredicate >
 
template<typename E >
constexpr auto magic_enum::enum_flags_contains (underlying_type_t< E > value) noexcept -> detail::enable_if_t< E, bool >
 
template<typename E >
auto magic_enum::enum_flags_name (E value, char_type sep=static_cast< char_type >('|')) -> detail::enable_if_t< E, string >
 
template<typename E >
constexpr auto magic_enum::enum_flags_test (E flags, E flag) noexcept -> detail::enable_if_t< E, bool >
 
template<typename E >
constexpr auto magic_enum::enum_flags_test_any (E lhs, E rhs) noexcept -> detail::enable_if_t< E, bool >
 
template<typename E , enum_subtype S, typename U = std::underlying_type_t<E>>
constexpr U magic_enum::detail::values_ors () noexcept
 


magic_enum
Author(s):
autogenerated on Fri Feb 21 2025 03:20:19