Commit Graph

  • 1cb1baa1ce
    Merge 289bf1c96485bf383f0d58e289a7595c1d2a65e0 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 Eisuke Kawashima 2025-06-07 04:07:11 +09:00
  • 289bf1c964
    build(exmaple): set -std to c++14 since required for switch in constexpr Eisuke Kawashima 2025-06-07 03:18:36 +09:00
  • fa7342d1d5
    Merge 04d98103249f749613a0254c2c7fd535184c8843 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 Eisuke Kawashima 2025-06-07 04:02:26 +09:00
  • 04d9810324
    fix(py): fix SyntaxWarning: invalid escape sequence Eisuke Kawashima 2025-06-07 03:42:52 +09:00
  • ef7bd4d6c2
    Merge aeda93ff372d17796434153f5262f3ae783aa429 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 Eisuke Kawashima 2025-06-07 03:59:14 +09:00
  • aeda93ff37
    refactor(python): convert to python3 Eisuke Kawashima 2025-06-07 03:50:12 +09:00
  • 08660806f6
    Merge ad5ed9ba0b8ee08f23b99438a115ef01e0634779 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 Auliyaa 2025-01-13 14:26:31 +01:00
  • ad5ed9ba0b add comparison operators between ::_enumerated types & Enum types. Ludwig Fiolka 2025-01-13 11:48:30 +01:00
  • 7a9f0b9ca2
    Merge 330935c1d679d45060df6e71d557561f18260cc6 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 jaskij 2024-02-10 17:50:14 +01:00
  • 330935c1d6 better_enum::optional: add conversion operator to std::optional jaskij 2024-02-10 17:49:05 +01:00
  • 667ae12494
    Merge 172b22fa9dbbb060cbc8a63620b673182557a284 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 gri6507 2024-01-10 04:59:43 -07:00
  • dad7280952
    Merge 56b5048b92dad960418074b6ed10f705be27a480 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 Thomas BRUNEL 2024-01-10 04:59:43 -07:00
  • 843802a304
    Merge 33f45c978d44067ff8513f653aee85a9cb99f920 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 MartinCruzAtDaikin 2024-01-10 04:59:43 -07:00
  • 27849ed83d
    Merge 3cc138b453db63a7f474aa69348dbe30a19f19d3 into 520d8ee39037c9c94aa6e708a4fd6c0fa313ae80 Giacomo Amante 2024-01-08 10:30:54 +08:00
  • 520d8ee390 Update copyright year master Anton Bachin 2024-01-07 15:20:03 +03:00
  • d65550f378
    Turn off clang-format (#118) Chris Heyes 2024-01-07 12:18:17 +00:00
  • 9cbd2dead0
    Turn off clang-format Chris Heyes 2024-01-03 13:49:05 +00:00
  • 33f45c978d
    make_macros for python3 MartinCruzAtDaikin 2023-05-22 22:22:57 -06:00
  • 56b5048b92 Add compare operators between Enum and enumerated Thomas BRUNEL 2023-04-22 14:37:30 +02:00
  • 3cc138b453 Add equality operators to compare Enum with enumerated value gamante91 2022-12-10 11:59:41 +01:00
  • c4fa43f9b8 Add equality operators to compare Enum with enumerated value gamante91 2022-12-09 19:03:47 +01:00
  • 172b22fa9d Provided Debian Packaging files Paul Grinberg 2022-09-06 08:55:29 -05:00
  • 1e8f499ddf Update copyright year Anton Bachin 2021-09-09 14:18:02 +03:00
  • f3ff0a6917 Remove version link from README Anton Bachin 2020-11-08 08:37:41 +03:00
  • 68ca02d1f5 Replace tab by spaces Anton Bachin 2020-11-08 08:27:20 +03:00
  • 5cfa84f1b8 Project site gh-pages Anton Bachin 2020-10-19 09:11:42 +03:00
  • 517387fba0 Docs: rely on GitHub issues only for contact Anton Bachin 2020-10-19 09:11:14 +03:00
  • fb8b398b02 README: remove link to magic_enum Anton Bachin 2020-10-19 09:05:45 +03:00
  • c35576bed0 Docs: update version number 0.11.3 Anton Bachin 2020-10-19 08:45:29 +03:00
  • 2422dd6f26 Docs: remove Wandbox link Anton Bachin 2020-10-19 08:45:17 +03:00
  • 894eab5284 Fix some code formatting Anton Bachin 2020-10-19 08:42:50 +03:00
  • fd646ae537 Document BETTER_ENUMS_CLASS_ATTRIBUTE Anton Bachin 2020-10-19 08:33:38 +03:00
  • abb693d4ef Document BETTER_ENUMS_DECLARE_STD_HASH Anton Bachin 2020-10-19 08:26:14 +03:00
  • 2f1fcaae7a Docs: fix rendering of <Enum> Anton Bachin 2020-10-19 08:12:51 +03:00
  • 3e115c0c17 Rename argument of _to_index, _from_index Anton Bachin 2020-10-19 08:09:55 +03:00
  • c730fc8ae8 Document _to_index, _from_index, etc. Anton Bachin 2020-10-19 08:07:45 +03:00
  • f480b7ef1c Remove Patreon link Anton Bachin 2020-10-18 22:32:01 +03:00
  • 1a3c4f9e5a Tweak note about magic_enum Anton Bachin 2020-10-08 21:50:05 +03:00
  • d0b5297a5a
    Merge 03686ae34089c6f5981768423732215b70f5bf2c into 21c374914ce4c6ddd53a8827932f0ce635b88e0a zhtw1234 2020-09-01 12:57:30 +08:00
  • 03686ae340
    r zhtw1234 2020-09-01 12:17:14 +08:00
  • 21c374914c Try GitHub Sponsors Anton Bachin 2020-01-23 01:53:00 +03:00
  • dcbd3c0554 Add BETTER_ENUMS_IGNORE_ATTRIBUTES_* for clang (#81) Jan-Gerd Tenberge 2020-01-13 13:40:59 +01:00
  • 1e59419187
    Update enum.h Jan-Gerd Tenberge 2020-01-13 13:10:08 +01:00
  • fa626628a1
    Add BETTER_ENUMS_IGNORE_ATTRIBUTES_* for clang Jan-Gerd Tenberge 2020-01-10 12:18:37 +01:00
  • 89bc057a63 Update copyright year Anton Bachin 2020-01-01 18:15:48 +03:00
  • 5dcd59bd29 Ignores -Wattributes for GCC 7 and 8 to mask compiler bug. (#79) CJ Smith 2019-12-07 00:15:47 -05:00
  • 8d9fb7cf33
    Ignores -Wattributes for GCC 7 and 8 to mask compiler bug. Connor James Smith 2019-11-27 14:59:36 +00:00
  • fa39f5c89e Add macro BETTER_ENUMS_CLASS_ATTRIBUTE for adding attributes to enum class (#80) Michael Ernst 2019-12-06 21:23:25 +01:00
  • e659bde424 Add macro BETTER_ENUMS_CLASS_ATTRIBUTE for adding attributes to enum class. When not set it defaults to empty macro. Michael Ernst 2019-12-05 17:54:38 +01:00
  • 4b76e7783b Recommend magic_enum Anton Bachin 2019-08-17 23:05:52 +03:00
  • 1ea7f04bb9 Move LICENSE so that GitHub recognizes it Anton Bachin 2019-07-25 20:12:26 +03:00
  • e1756cdb07 Docs: remove unnecessary scroll bars Anton Bachin 2019-04-02 10:14:02 -05:00
  • 5a677ac72b Support using better-enum as key in dictionaries and maps (#77) Sven Scharmentke 2019-07-16 11:36:16 +02:00
  • c50aeca187 Tweak whitespace Anton Bachin 2019-07-16 12:22:59 +03:00
  • 1115d52ab7 Attempt to fix compile issues on old C++ standard. Sven Scharmentke 2019-07-16 09:12:43 +02:00
  • 0e8a0bc681 Include functional for the test case. Sven Scharmentke 2019-07-15 12:35:46 +02:00
  • 5b3bad3ce5 Implemented a test for std::hash. Sven Scharmentke 2019-07-15 08:44:21 +02:00
  • 9517c4879c Handled review notes. Sven Scharmentke 2019-07-11 09:32:06 +02:00
  • 8aa4bffb22 Another approach to specialize the hash easier. Sven Scharmentke 2019-07-11 08:57:01 +02:00
  • 8a118fc294 Support hashing. Sven Scharmentke 2019-07-11 08:28:57 +02:00
  • 8a0d376b53 fix -wold-style-cast (#74) Felipe Lema 2019-06-19 13:47:57 -04:00
  • 63016426fd fix typo Felipe Lema 2019-06-19 09:47:00 -04:00
  • eb52bba017 fix 81692171 Felipe Lema 2019-06-18 11:19:32 -04:00
  • 8169217136 compilers other than MSVC won't recognize _Pragma Felipe Lema 2019-06-17 13:53:33 -04:00
  • 000d92720f define ignore old-cast macro as empty string Felipe Lema 2019-05-09 14:32:25 -04:00
  • b585c76ae7 skip handling -Wno-old-style-cast on old gcc compilers Felipe Lema 2019-05-09 13:58:38 -04:00
  • 1e76f587d9 _Pragma is not recognized by vc, update yes-old-cast to clang Felipe Lema 2019-05-09 09:34:51 -04:00
  • 9f5929fff5 flag this C-cast as "don't warn" Felipe Lema 2019-05-08 18:41:37 -04:00
  • ee53076a88 Merge branch 'fix-old-style-cast' of https://github.com/MartinDelille/better-enums into fix-static-cast Felipe Lema 2019-05-08 12:38:43 -04:00
  • c124b2aa60 Support specifying a custom default value Mark Nauwelaerts 2019-04-14 10:55:44 +02:00
  • 8b4d8a9499 Bump version to 0.11.2 0.11.2 Anton Bachin 2019-04-02 10:01:26 -05:00
  • ebc0c0138e Fix some long lines Anton Bachin 2019-04-02 09:49:47 -05:00
  • b838852ff4 Remove stray comment Anton Bachin 2019-04-02 09:47:53 -05:00
  • f626bcde1a Docs: note maps are also specialized for wchar_t Anton Bachin 2019-04-02 09:27:14 -05:00
  • 509c544d0f removed tabs in unwanted places (#72) Xeverous 2019-03-11 22:44:22 +01:00
  • b54c084ac1
    removed tabs in unwanted places Xeverous 2019-03-04 19:19:23 +01:00
  • 8a47605f0b fix old style cast warning Martin Delille 2019-01-09 19:01:54 +01:00
  • ed21395b20 Fix for Visual Studio 2017 (#70) D4koon 2018-11-28 10:28:05 +01:00
  • 811f01a98a Update enum.h D4koon 2018-11-17 11:38:20 +01:00
  • 74f7ee9df3 Fix for Visual Studio 2017 D4koon 2018-11-11 14:23:20 +01:00
  • 2d2a6a5648 AppVeyor: test on Visual Studio 2017 Anton Bachin 2018-11-28 00:07:36 -06:00
  • 882dd9cd1b Travis: allow Clang 3.3 build to fail Anton Bachin 2018-10-19 12:34:34 -05:00
  • 94f8f95a26 Added syntax highlight (#67) Wojciech Bartnik 2018-10-19 19:32:40 +02:00
  • 81a3cc78f4 Added syntax highlight Wojciech Bartnik 2018-10-18 11:32:50 +02:00
  • df5df3924e Changed identifiers beginning with underscore followed by uppercase letters. (#62) Felix Dombek 2018-09-19 20:31:42 +02:00
  • ee4f598c81 Changed identifiers beginning with underscore followed by uppercase letters. Felix Dombek 2018-09-19 16:58:19 +02:00
  • 97d38d8077 Added indexable properties on enums (#59) Piotr Kosek 2018-09-07 00:39:31 +02:00
  • 8e2bc1d876 Removed _from_index_loop and moved its functionality to _from_index_nothrow Piotr Kosek 2018-09-01 12:41:17 +02:00
  • f044492ae8 (Hopefully last fix) _from_index will now take std::size_t Piotr Kosek 2018-08-31 17:56:56 +02:00
  • db287125b5 Tests fixed again Piotr Kosek 2018-08-31 17:53:40 +02:00
  • b5b478d805 Fixed non-passed tests Piotr Kosek 2018-08-31 17:49:54 +02:00
  • a3dca4ff32 ... Piotr Kosek 2018-08-31 17:40:23 +02:00
  • 7ad65be858 Fixed tests Piotr Kosek 2018-08-31 17:36:27 +02:00
  • e1341951a2 ... Piotr Kosek 2018-08-31 17:31:54 +02:00
  • 822f29ee58 Fridays... Piotr Kosek 2018-08-31 17:24:29 +02:00
  • aa6527dad0 Too trigger happy :-( Piotr Kosek 2018-08-31 17:17:26 +02:00
  • d0c7473450 Fixed a problem with unusued value (inside _from_index_loop ) Piotr Kosek 2018-08-31 17:14:26 +02:00
  • e1567c3e88 Merge branch 'master' of https://github.com/Shelim/better-enums Piotr Kosek 2018-08-31 17:08:19 +02:00
  • 93ceb8a37d Fixed not compiling code Piotr Kosek 2018-08-31 17:07:33 +02:00
  • e3898a835f
    Merge pull request #1 from Shelim/indexable Piotr Kosek 2018-08-31 16:50:49 +02:00