Skip to main content

magic_enum::customize

C++ API reference for the namespace magic_enum::customize.

Public API

Class: customize_t

Canonical path: magic_enum::customize::customize_t

Declared in: include/magic_enum/magic_enum.hpp

Signature

class customize_t : public std::pair<detail::customize_tag, string_view> {};

Constructor: customize_t

Canonical path: magic_enum::customize::customize_t::customize_t

Declared in: include/magic_enum/magic_enum.hpp

Signatures

constexpr customize_t(const char_type* srt);
constexpr customize_t(string_view srt);
constexpr customize_t(detail::customize_tag tag);

Free Function: adl_info

Canonical path: magic_enum::customize::adl_info

Declared in: include/magic_enum/magic_enum.hpp

Signature

constexpr adl_info_holder<> adl_info();

Free Function: enum_name

Canonical path: magic_enum::customize::enum_name

Declared in: include/magic_enum/magic_enum.hpp

Signature

constexpr customize_t enum_name(E) noexcept;

Free Function: enum_type_name

Canonical path: magic_enum::customize::enum_type_name

Declared in: include/magic_enum/magic_enum.hpp

Signature

constexpr customize_t enum_type_name() noexcept;

Member Function: flag

Canonical path: magic_enum::customize::adl_info_holder::flag

Declared in: include/magic_enum/magic_enum.hpp

Signature

constexpr static adl_info_holder<is_flag, Min, Max, PrefixLength> flag();

Member Function: minmax

Canonical path: magic_enum::customize::adl_info_holder::minmax

Declared in: include/magic_enum/magic_enum.hpp

Signature

constexpr static adl_info_holder<IsFlags, min, max, PrefixLength> minmax();

Member Function: prefix

Canonical path: magic_enum::customize::adl_info_holder::prefix

Declared in: include/magic_enum/magic_enum.hpp

Signature

constexpr static adl_info_holder<IsFlags, Min, Max, prefix_len> prefix();

Struct: adl_info_holder

Canonical path: magic_enum::customize::adl_info_holder

Declared in: include/magic_enum/magic_enum.hpp

Signature

struct adl_info_holder {};

Struct: enum_range

Canonical path: magic_enum::customize::enum_range

Declared in: include/magic_enum/magic_enum.hpp

Signature

struct enum_range {};

Struct: enum_range<E, decltype(void(magic_enum_define_range_adl(E{})))>

Canonical path: magic_enum::customize::enum_range<E, decltype(void(magic_enum_define_range_adl(E{})))>

Declared in: include/magic_enum/magic_enum.hpp

Signature

struct enum_range<E, decltype(void(magic_enum_define_range_adl(E{})))> : decltype(magic_enum_define_range_adl(E{})) {};