1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
magic_enum/test
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
..
3rdparty/Catch2 update catch2 2021-04-14 14:06:52 +03:00
.bazelrc add bzlmod support (#254) 2023-04-26 20:16:08 +04:00
BUILD.bazel * Remove MAGIC_ENUM_ENABLE_NONASCII 2023-05-21 04:08:07 +04:00
CMakeLists.txt Enable wchar_t as string_view value_type (#272) 2023-05-24 19:05:20 +04:00
meson.build fixed meson build for the tests (#275) 2023-05-30 12:29:52 +04:00
MODULE.bazel bazel updates (#291) 2023-08-23 13:40:03 +04:00
test.cpp Explicitly mark the result of detail::names as constexpr (#305) 2023-11-09 14:09:37 +04:00
test_aliases.cpp move all enum_flags_* func to enum_flags.hpp 2023-06-05 14:44:06 +04:00
test_containers.cpp fix _ITERATOR_DEBUG_LEVEL 2023-06-16 06:04:33 +04:00
test_flags.cpp add enum_next_value and enum_prev_value 2023-06-12 17:45:42 +04:00
test_nonascii.cpp move iostream_operators to magic_enum_iostream 2023-05-21 20:55:52 +04:00
test_wchar_t.cpp add MAGIC_ENUM_NO_ASSERT 2023-06-12 17:43:19 +04:00
WORKSPACE.bazel add bzlmod support (#254) 2023-04-26 20:16:08 +04:00