Library

enchantum 0.5.0

Version0.5.0
Stars★ 141
Released2026-09-07

Faster enum reflection for C++17 since I don't want to wait for C++26 reflection.

Release notes

* Added C++26 reflection backend (not the best)
* Much faster out of range checks resulting in better compile times Thanks @vittorioromeo for his [blog post](https://www.reddit.com/r/cpp/comments/1tb89tx/cost_of_enumtostring_c26_reflection_vs_the_old/) bringing this issue to me.
* Fixed 64-bit enums msvc parsing error. Thanks @florian-n #25
* Added ability to declare enums as having no enumerators Thanks for @DNKpp for the idea #23 
* Fixed missing `const` on a bitset member function
* Fixed off by one error bitflag in Resharper Thanks @AndreyG 
* Fixed annoying gcc 11 warning Thanks @djbn65 #33 
* Fixed missing namespace qualifications Thanks @Morwenn #32
* Added `value_type` to iterators and generators to make them more usable as containers and removed sentinel iterators. Thanks @Morwenn #35
* Fix cmake install Thanks @toge  #36
* Added license to single header Thanks @nraynaud #27


New Contributors:
* @djbn65 made their first contribution in https://github.com/ZXShady/enchantum/pull/33

**Full Changelog**: https://github.com/ZXShady/enchantum/compare/0.4.0...0.5.0

Share this resource


Discovered 2026-09-08 Source GitHub Archive 2026-09 →