154 Commits

Author SHA1 Message Date
neargye 088d4a12e2 fix #393 2026-06-08 14:35:50 +04:00
neargye 9b0262a852 fix #459 #453 2026-06-06 22:34:36 +04:00
neargye 26b9d46bcc fix bazel 2026-05-31 12:42:21 +04:00
neargye f0f76c3aab fix bazel 2026-05-31 12:33:17 +04:00
neargye 3072d5243c fix build 2026-05-31 12:29:28 +04:00
neargye 8c3663433b update tests
clean-up
2026-05-31 12:25:35 +04:00
neargye 932ca61a23 update ci 2026-05-31 12:20:27 +04:00
neargye b963e717db update copyright 2026-05-31 12:20:24 +04:00
Fedor Osetrov dcc565c0b8 C++20 modules support in CMake (#455) 2026-05-30 22:47:18 +04:00
neargye 7d87efb4a3 update ci 2026-02-27 21:25:56 +04:00
neargye 1110266151 fix #446 2026-02-27 20:46:19 +04:00
neargye 9c986e5db8 update ci 2026-02-27 20:40:38 +04:00
Ezekiel Warren 5e481b6d85 add rules_cc bazel dependency (#438) 2026-01-25 12:35:35 +04:00
Frankie Robertson 83ab7f4f57 Replace test option with not building tests by default (#430)
Co-authored-by: Frankie Robertson <frankie@robertson.name>
2025-10-08 22:29:29 +04:00
neargye 083298a045 fix namespace 2025-09-01 01:21:32 +04:00
ZXShady aaf57737d5 Add prefix trimming (#414) 2025-08-31 22:56:19 +04:00
ZXShady d642b05dcb Add adl_ranges (#413)
Co-authored-by: lsemprini <17140216+lsemprini@users.noreply.github.com>
2025-06-11 21:00:01 +04:00
Daniil Goncharov ff6e5dd1c8 fix 379 (#382) 2025-02-20 12:37:47 +04:00
Arni a72a0536c7 fix installing via cmake (#374) 2024-10-14 18:05:55 +03:00
neargye 0c1d10a624 fix tests 2024-06-29 17:13:32 +03:00
neargye bc2e94853b add enum_reflected 2024-06-29 16:47:56 +03:00
neargye f2ad79f06b fix #362 2024-06-28 22:59:30 +03:00
Ezekiel Warren 173f22250c chore: remove crlf line endings in bazel files (#358) 2024-06-04 20:55:16 +03:00
Daniil Goncharov 801c68bdc9 fix wshadow (#354) 2024-05-25 17:35:16 +03:00
neargye 414fb654d3 update copyright 2024-01-02 02:50:34 +04:00
neargye 73c1d83646 fix build 2024-01-02 02:19:26 +04:00
neargye e26b05e0a0 clean-up 2023-12-18 00:56:13 +04:00
Daniil Goncharov e09f25780a checking that the enum is valid (not empty and not forward declaration) (#323) 2023-12-16 17:00:00 +04:00
Arkhipov Ivan 56dcb011c2 Put get to magic_enum::containers namespace (#316) 2023-11-15 22:25:49 +04:00
Chris Sauer 016883d29a Simplify Bazel (#312) 2023-11-15 14:17:08 +04:00
Ryan Samarakoon cd5fd2c343 Fix set erase function (#308) 2023-11-12 17:30:10 +04:00
Vitaly 5523803cfc Explicitly mark the result of detail::names as constexpr (#305)
It might make no sense, but on MSVC it can generate a compile-time
error, especially if an enumerator's value is out of range.

Example:
error C3615: constexpr function 'magic_enum::detail::names' cannot
result in a constant expression
...
note: failure was caused by call of undefined function or one not
declared 'constexpr'
...
note: see usage of '__builtin_array_init_helper'
2023-11-09 14:09:37 +04:00
Ezekiel Warren 745bf36a64 bazel updates (#291) 2023-08-23 13:40:03 +04:00
neargye 43070070e6 fix enum_type_name in namespace 2023-06-21 12:45:59 +04:00
neargye fd9f70b91d fix _ITERATOR_DEBUG_LEVEL 2023-06-16 06:04:33 +04:00
neargye 7a881a68ba add enum_next_value and enum_prev_value 2023-06-12 17:45:42 +04:00
neargye e7749da06b add MAGIC_ENUM_NO_ASSERT 2023-06-12 17:43:19 +04:00
neargye 3b4967b21e move all enum_flags_* func to enum_flags.hpp 2023-06-05 14:44:06 +04:00
Daniil Goncharov 9508c563da add enum_flags_test and enum_flags_test_any functions for flags (#277)
Co-authored-by: Jon Petrissans <jon.petrissans@protonmail.com>
2023-06-05 14:10:02 +04:00
neargye f2ddc4ba62 add more test 2023-06-02 11:24:25 +04:00
neargye 6fe7ffbf35 fix enum name in namespace 2023-05-30 14:37:45 +04:00
neargye 6fec6f6386 add more test 2023-05-30 13:24:25 +04:00
neargye abf48fc20e fix enum name in class 2023-05-30 12:54:30 +04:00
Tyler 930bcf0ba2 fixed meson build for the tests (#275) 2023-05-30 12:29:52 +04:00
Daniil Goncharov 8f6c9905fd Enable wchar_t as string_view value_type (#272) 2023-05-24 19:05:20 +04:00
neargye 50adc0691e fix clang-format 2023-05-23 21:12:42 +04:00
Daniil Goncharov 629f7b09af add support big range (#268)
* add support big range

* remove string_view from n()

* fix containers
2023-05-22 19:44:28 +04:00
neargye ed43fd5fa2 move iostream_operators to magic_enum_iostream 2023-05-21 20:55:52 +04:00
neargye 9c710f6119 add more test 2023-05-21 17:09:30 +04:00
neargye 427a47394f * Remove MAGIC_ENUM_ENABLE_NONASCII
* Optimize template instantiations
* Remove auto is_flags
* Change flags API
2023-05-21 04:08:07 +04:00