Shahar Hadas
bf3c74ab7e
Add better support for Yocto/PetaLinux ( #360 )
...
Added a new option of MAGIC_ENUM_OPT_INSTALL_PACKAGE_XML to allow disabling the package.xml file
2024-06-09 23:06:15 +03:00
Ezekiel Warren
173f22250c
chore: remove crlf line endings in bazel files ( #358 )
2024-06-04 20:55:16 +03:00
dependabot[bot]
10e69c799a
Bump the github-actions group with 2 updates ( #356 )
2024-06-01 11:34:45 +03:00
LEE KYOUNGHEON
db0b726c05
Add MAGIC_ENUM_USE_STD_MODULE option to use standard library module. ( #350 )
2024-05-28 00:17:33 +03:00
Daniil Goncharov
801c68bdc9
fix wshadow ( #354 )
2024-05-25 17:35:16 +03:00
neargye
a2077c01c3
clean-up
2024-05-16 00:10:53 +03:00
dependabot[bot]
1a366d677e
Bump the github-actions group with 2 updates ( #346 )
2024-05-15 23:13:02 +03:00
LEE KYOUNGHEON
7afc57b194
Support C++20 module. ( #343 )
2024-05-09 00:02:49 +03:00
dependabot[bot]
f34f967c4e
Bump the github-actions group with 1 update ( #341 )
2024-04-02 18:37:02 +03:00
dependabot[bot]
d63a9d6371
Bump the github-actions group with 2 updates ( #339 )
2024-03-04 15:54:14 +02:00
neargye
a7f35612ab
update doc
2024-02-22 18:29:45 +04:00
neargye
ec11ae0c28
removed restrictions on maximum range size
2024-02-22 14:23:33 +04:00
neargye
d7c7675b56
update readme
2024-02-22 14:22:46 +04:00
Stephan Lachnit
66e5a46094
example_switch.cpp: properly return 0 ( #336 )
2024-02-10 16:13:25 +04:00
dependabot[bot]
b4ada55c8c
Bump the github-actions group with 2 updates ( #333 )
2024-02-01 16:11:43 +04:00
Walter
40ecd7dfb4
Tidy up Limitations page ( #332 )
2024-01-21 14:13:49 +04:00
dependabot[bot]
d3f466bf0c
Bump the github-actions group with 4 updates ( #331 )
2024-01-12 15:23:40 +04:00
neargye
414fb654d3
update copyright
2024-01-02 02:50:34 +04:00
neargye
81b9b054f6
update readme
2024-01-02 02:40:37 +04:00
neargye
aa465f7f37
update doc and example
2024-01-02 02:39:10 +04:00
neargye
6992f41db7
update readme
2024-01-02 02:39:01 +04:00
neargye
73c1d83646
fix build
2024-01-02 02:19:26 +04:00
neargye
9565965afd
clean-up
2024-01-02 02:04:57 +04:00
Diogo Teles Sant'Anna
c7a793d71a
CI: hash-pin sensitive workflow and configure dependabot to keep them updated ( #329 )
2024-01-02 02:00:05 +04:00
Chris Sauer
f41e4cdc92
Bazel: --incompatible_use_platforms_repo_for_constraints migrated ( #325 )
2023-12-20 10:40:10 +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
neargye
41f674b061
fix enum_fuse
2023-12-09 23:56:44 +04:00
Justin Boswell
804738ba8a
Add support for overriding MAGIC_ENUM_ASSERT ( #322 )
2023-12-06 11:46:57 +04:00
Diogo Teles Sant'Anna
48415f9ed0
Ci: add scorecard action ( #313 )
2023-12-04 13:15:00 +04:00
neargye
e55b9b54d5
v0.9.5
2023-11-16 12:32:10 +04:00
neargye
677636ec43
clean-up
2023-11-15 23:07:55 +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
Chris Sauer
3437129f30
Bazel: Make include directories consistent ( #311 )
...
Addresses Bazel part of https://github.com/Neargye/magic_enum/issues/310
2023-11-14 21:07:33 +04:00
neargye
d52a0c1c18
[CI] remove continue-on-error
2023-11-14 17:59:15 +04:00
neargye
ea5b977b8d
v0.9.4
2023-11-12 17:36:48 +04:00
Ryan Samarakoon
cd5fd2c343
Fix set erase function ( #308 )
2023-11-12 17:30:10 +04:00
neargye
3c92e9035b
meson fix include_directories
2023-11-12 01:16:32 +04:00
neargye
eb867ec9ba
put headers in include/magic_enum directory
2023-11-12 01:11:55 +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
Ralph J. Steinhagen
5cf4eb3a53
fixes 'std::ptrdiff_t' to 'std::size_t' casting error and suppresses -Wuseless-cast warning for gcc and clang ( #306 )
...
* fixes 'std::ptrdiff_t' to 'std::size_t' casting error
addresses this compiler warning:
```text
[..]/magic_enum_utility.hpp:101:31: warning: conversion to ‘std::size_t’ {aka ‘long unsigned int’} from ‘std::ptrdiff_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion]
101 | return enum_value<D, S>(index);
| ^~~~~
```
* suppresses `-Wuseless-cast` for static_cast<char_type>('\0')
needed in case 'char_type' is 'char' (common on Linux but rare on Windows?)
```text
[..]/magic_enum.hpp:275:114: warning: useless cast to type ‘using magic_enum::char_type = using std::basic_string_view<char>::value_type = char’ {aka ‘char’} [-Wuseless-cast]
275 | constexpr static_str(string_view str, std::integer_sequence<std::uint16_t, I...>) noexcept : chars_{str[I]..., static_cast<char_type>('\0')} {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2023-11-09 14:07:16 +04:00
RaceTheMaSe
49bb72da8e
Remove superfluous semicolon ( #304 )
2023-10-19 01:53:37 +03:00
Ruben Anders
a7926c63d4
Fix link to Conan in README ( #301 )
2023-10-09 11:33:54 +04:00
neargye
d67973d118
fix Argument-dependent lookup results in enum_switch
2023-10-04 19:14:27 +04:00
neargye
dfcd851dba
fix build
2023-10-04 19:13:20 +04:00
neargye
ed8bb5d63a
check for -D__PRETTY_FUNCTION__=__FUNCTION__
2023-10-04 19:04:09 +04:00
neargye
b291b0ce5a
fix fmt::formatter
2023-09-20 18:44:31 +04:00
neargye
33e4bb8640
update doc
2023-09-15 14:30:21 +04:00
Ezekiel Warren
d705e50884
automatically create and upload bzlmod archive ( #294 )
2023-09-12 16:19:27 +04:00