magic_enum/0.9.1

[full]

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code

Stand With Ukraine

 __  __             _        ______                          _____
|  \/  |           (_)      |  ____|                        / ____|_     _
| \  / | __ _  __ _ _  ___  | |__   _ __  _   _ _ __ ___   | |   _| |_ _| |_
| |\/| |/ _` |/ _` | |/ __| |  __| | '_ \| | | | '_ ` _ \  | |  |_   _|_   _|
| |  | | (_| | (_| | | (__  | |____| | | | |_| | | | | | | | |____|_|   |_|
|_|  |_|\__,_|\__, |_|\___| |______|_| |_|\__,_|_| |_| |_|  \_____|
               __/ |
              |___/

Github releases Conan package Vcpkg package Build2 package Meson wrap License Try online Compiler explorer

Magic Enum C++

... More
version 0.9.1
license MIT License
repository https://pkg.cppget.org/1/alpha
download magic_enum-0.9.1.tar.gz
sha256 5de0e8540d83b8d398be70d9a4b969b275b23f4ae86efe72965c01730f66af0f
project magic_enum
doc-url github.com/Neargye/magic_enum/blob/master/doc/reference.md
src-url github.com/Neargye/magic_enum
package-email wmbat-dev@protonmail.com
topics Enumreflection

Requires (1)

c++ >= 17

Tests

magic_enum-tests == 0.9.1

Builds

toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
timestamp 2024-06-21 17:48:35 UTC (22:57:25 hours ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
timestamp 2024-06-21 17:48:15 UTC (22:57:45 hours ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
timestamp 2024-06-21 17:47:50 UTC (22:58:10 hours ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
timestamp 2024-06-21 17:47:32 UTC (22:58:28 hours ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-O3
timestamp 2024-06-21 17:47:02 UTC (22:58:58 hours ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18
timestamp 2024-06-21 17:46:46 UTC (22:59:14 hours ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-static_O3
timestamp 2024-06-21 16:30:59 UTC (01 00:15:01 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-O3
timestamp 2024-06-21 16:30:02 UTC (01 00:15:58 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew
timestamp 2024-06-21 16:29:12 UTC (01 00:16:48 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.10-static_O2
timestamp 2024-06-21 12:33:27 UTC (01 04:12:33 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.10-O2
timestamp 2024-06-21 12:32:34 UTC (01 04:13:27 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.10
timestamp 2024-06-21 12:31:40 UTC (01 04:14:20 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.8-static_O2
timestamp 2024-06-21 12:29:15 UTC (01 04:16:46 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_13.2_mingw_w64-static_O2
timestamp 2024-06-21 12:28:57 UTC (01 04:17:03 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_18_llvm_msvc_17.10-static_O2
timestamp 2024-06-21 12:28:48 UTC (01 04:17:12 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_13.2_mingw_w64-O2
timestamp 2024-06-21 12:28:36 UTC (01 04:17:24 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_13.2_mingw_w64
timestamp 2024-06-21 12:28:23 UTC (01 04:17:37 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.8-O2
timestamp 2024-06-21 12:28:16 UTC (01 04:17:44 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.8
timestamp 2024-06-21 12:28:15 UTC (01 04:17:45 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_18_llvm_msvc_17.10-O2
timestamp 2024-06-21 12:28:12 UTC (01 04:17:48 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_18_llvm_msvc_17.10
timestamp 2024-06-21 12:28:09 UTC (01 04:17:52 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_17_msvc_msvc_17.10
timestamp 2024-06-21 12:28:05 UTC (01 04:17:55 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_fedora_40-gcc_14-bindist
timestamp 2024-06-21 12:28:02 UTC (01 04:17:58 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
timestamp 2024-06-21 12:27:54 UTC (01 04:18:06 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0
timestamp 2024-06-21 12:27:42 UTC (01 04:18:19 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
timestamp 2024-06-21 12:27:40 UTC (01 04:18:20 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_ubuntu_24.04-gcc_13-bindist
timestamp 2024-06-21 12:27:32 UTC (01 04:18:28 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
timestamp 2024-06-21 12:27:31 UTC (01 04:18:29 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_fedora_39-gcc_13-bindist
timestamp 2024-06-21 12:27:26 UTC (01 04:18:34 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
timestamp 2024-06-21 12:27:19 UTC (01 04:18:41 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
timestamp 2024-06-21 12:27:19 UTC (01 04:18:41 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
timestamp 2024-06-21 12:27:14 UTC (01 04:18:46 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2024-06-21 12:27:12 UTC (01 04:18:48 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
timestamp 2024-06-21 12:27:00 UTC (01 04:19:00 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18-O3
timestamp 2024-06-21 12:26:53 UTC (01 04:19:07 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1
timestamp 2024-06-21 12:26:52 UTC (01 04:19:08 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_12-bindist
timestamp 2024-06-21 12:26:49 UTC (01 04:19:11 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18-static_O3
timestamp 2024-06-21 12:26:45 UTC (01 04:19:15 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18
timestamp 2024-06-21 12:26:41 UTC (01 04:19:19 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_17_libc++
timestamp 2024-06-21 12:26:28 UTC (01 04:19:32 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18-O3
timestamp 2024-06-21 12:26:18 UTC (01 04:19:42 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_17
timestamp 2024-06-21 12:26:12 UTC (01 04:19:48 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-freebsd13.3
tgt config freebsd_13-clang_17
timestamp 2024-06-21 12:26:08 UTC (01 04:19:53 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18
timestamp 2024-06-21 12:26:05 UTC (01 04:19:55 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
timestamp 2024-06-21 11:33:04 UTC (01 05:12:56 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
timestamp 2024-06-21 11:32:30 UTC (01 05:13:30 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
timestamp 2024-06-21 11:32:22 UTC (01 05:13:38 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2024-06-21 11:31:50 UTC (01 05:14:10 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13
timestamp 2024-06-20 08:30:06 UTC (02 08:15:54 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_17_libc++
timestamp 2024-06-20 08:29:44 UTC (02 08:16:17 days ago)
result success | log | rebuild
toolchain public-0.17.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_17
timestamp 2024-06-20 08:29:25 UTC (02 08:16:35 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_13.1
timestamp 2024-06-17 23:53:55 UTC (04 16:52:05 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_12-bindist
timestamp 2024-06-17 23:48:48 UTC (04 16:57:12 days ago)
result success | log | rebuild
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13
timestamp 2024-06-16 22:59:36 UTC (05 17:46:24 days ago)
result success | log | rebuild
toolchain public-0.16.0
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0
timestamp 2024-06-16 05:19:47 UTC (06 11:26:13 days ago)
result success | log | rebuild
toolchain public-0.17.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0
result unbuilt
toolchain public-0.17.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-O3
result unbuilt
toolchain public-0.17.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-static_O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_17
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_17_libc++
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
result unbuilt
toolchain public-0.16.0
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-freebsd13.3
tgt config freebsd_13-clang_17
result unbuilt
toolchain public-0.16.0
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18
result unbuilt
toolchain public-0.16.0
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18-O3
result unbuilt
toolchain public-0.16.0
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_17
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_17_libc++
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18-O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_fedora_39-gcc_13-bindist
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_fedora_40-gcc_14-bindist
result unbuilt
toolchain public-0.16.0
target x86_64-linux-gnu
tgt config linux_ubuntu_24.04-gcc_13-bindist
result unbuilt
toolchain public-0.16.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0
result unbuilt
toolchain public-0.16.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-O3
result unbuilt
toolchain public-0.16.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew
result unbuilt
toolchain public-0.16.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-O3
result unbuilt
toolchain public-0.16.0
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-static_O3
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_17_msvc_msvc_17.10
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_18_llvm_msvc_17.10
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_18_llvm_msvc_17.10-O2
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-clang_18_llvm_msvc_17.10-static_O2
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.10
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.10-O2
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.10-static_O2
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.8
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.8-O2
result unbuilt
toolchain public-0.16.0
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17.8-static_O2
result unbuilt
toolchain public-0.16.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_13.2_mingw_w64
result unbuilt
toolchain public-0.16.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_13.2_mingw_w64-O2
result unbuilt
toolchain public-0.16.0
target x86_64-w64-mingw32
tgt config windows_10-gcc_13.2_mingw_w64-static_O2
result unbuilt