neargye
beb77df3f1
clean-up
2021-01-10 14:54:49 +02:00
bjacklyn
36ab9fa1a4
Detect values out of range and fail compilation ( #70 )
...
This checks for a value at (range_min - 1) and (range_max + 1) for numerical enums
(i.e. not flag enums) and fails compilation with a static_assert if any value is found
Co-authored-by: Brandon Jacklyn <bjacklyn@tesla.com>
2021-01-10 14:43:47 +02:00
neargye
806f2530ef
clean-up
2020-12-29 18:56:51 +02:00
neargye
6654d24a82
update
2020-12-24 16:24:34 +02:00
neargye
dc8660e2bc
v0.7.2
2020-12-23 14:18:20 +02:00
neargye
993e796e0d
update doc
2020-12-23 14:17:39 +02:00
neargye
dee5abdfbd
update doc
...
fix #68
2020-12-23 14:14:28 +02:00
neargye
9ed98e3463
fix #69
2020-12-21 17:52:42 +02:00
neargye
74106766b5
update ci
2020-12-04 18:08:09 +02:00
neargye
f4d98123d9
v0.7.1
2020-12-02 12:09:44 +02:00
nackdai
e24befa5fd
fix typo ( #66 )
2020-11-29 15:29:17 +02:00
neargye
9fb2ab9133
clean-up
2020-11-26 01:27:24 +02:00
neargye
4da4b75644
add namespace magic_enum: 🎏 :bitwise_operators
2020-11-25 11:17:29 +02:00
neargye
e8c57b0a2a
update ci
2020-11-24 16:28:50 +02:00
neargye
72ba8a89d4
clean-up
2020-11-19 15:29:05 +02:00
Bela Schaum
1b587718b7
Compile fix for gcc 7.5 ( #62 )
2020-11-19 15:23:20 +02:00
neargye
6e932ef66d
update ci
2020-11-11 17:32:27 +02:00
neargye
8f1d0ba39f
fix clang with msvc
2020-11-10 19:14:54 +02:00
neargye
b828fe16f5
make the project to be used from a build directory
...
reference: https://cmake.org/cmake/help/latest/guide/tutorial/index.html#adding-export-configuration-step-11
2020-11-10 19:13:46 +02:00
Daniil Goncharov
ad441519c3
Create FUNDING.yml
2020-11-09 15:26:25 +02:00
neargye
ae7aabf63d
update comments
2020-11-08 22:00:23 +02:00
tim-lyon-arup
caa2f9e6ef
Fix typo in readme ( #61 )
2020-10-22 15:48:26 +03:00
Florian Becker
bb32605276
Fix extra-semi-stmt ( #60 )
2020-10-21 18:02:40 +03:00
neargye
3080a1d726
update readme
2020-10-19 10:19:10 +03:00
neargye
77c66013db
update ci
2020-10-18 21:23:35 +03:00
Michael Hackner
4623301e1a
Exercise Bazel build in CI ( #59 )
2020-10-17 16:45:16 +03:00
neargye
702e2d3271
bump version
2020-10-16 16:03:53 +03:00
neargye
7fe7de5130
update readme
2020-10-16 10:14:40 +03:00
neargye
701bff9159
v0.7.0
2020-10-14 20:03:02 +03:00
neargye
24e06d6eef
fix build
2020-10-13 13:36:18 +03:00
neargye
e73c1b1168
more comfortable static check
2020-10-13 13:29:21 +03:00
neargye
8edf2e3286
fix noising assert
2020-10-13 13:14:09 +03:00
neargye
b61af87b20
update readme
2020-10-08 20:05:31 +03:00
FelixDuvalletKodiak
f3b4a01ce2
Add support for bazel ( #56 )
...
* Add support for bazel
Bazel support for the magic_enum repository would help others using
bazel integrate this library into their projects.
This PR adds a BUILD file which enables magic_enum to be imported
seamlessly into other WORKSPACE files without having to write a custom
BUILD file.
It also adds bazel binaries & tests to enable running them via bazel
locally:
export CC=clang ; bazel build //... ; bazel test //... ; bazel run //:example
Finally, bazel compilation artifacts are added to the gitignore file.
* Update BUILD file & specify http_archive in README
* Lint BUILD file
2020-10-08 10:10:15 +03:00
Gary MARIGLIANO
7063621bce
Add MAGIC_ENUM_OPT_INSTALL option in CMakeLists.txt ( #54 )
...
This option allows to skip install target which can be useful when
vendoring magic_enum.
Co-authored-by: Gary Marigliano <gary.marigliano@ecorobotix.com>
2020-09-24 16:55:57 +03:00
neargye
4813c04927
fix #53
2020-09-16 00:26:01 +03:00
neargye
59aa63ac64
update doc
2020-09-08 20:38:34 +03:00
Daniil Goncharov
690486e7f2
improve customize
2020-09-07 12:55:59 +03:00
Daniil Goncharov
000551a655
clean-up
2020-09-01 14:01:49 +03:00
neargye
9ed88dea3b
clean-up
2020-08-30 10:45:18 +03:00
neargye
5eadad5272
update test flag
2020-08-30 10:43:06 +03:00
neargye
93384d2fa3
add example custom name
2020-08-30 10:42:56 +03:00
neargye
d0e279ae59
fix cmp_equal
2020-08-18 10:19:05 +05:00
neargye
d085812be2
update tests
2020-08-17 01:37:07 +05:00
neargye
8fd0ddb13c
update example
2020-08-17 01:28:35 +05:00
neargye
e55d4cea83
remove unused magic_enum: 🎏 :bitwise_operators
2020-08-17 01:28:24 +05:00
neargye
02f2249239
clean-up
2020-08-16 17:43:22 +05:00
neargye
521b753a86
fix warnings
2020-08-16 16:25:03 +05:00
neargye
971a548693
remove strict enum_name
2020-08-16 15:16:15 +05:00
neargye
9c40cae91a
add enum-flags test
2020-08-16 14:58:48 +05:00