Releases: ZXShady/enchantum
0.4.0
What's Changed
New Contributors
Full Changelog: 0.3.0...0.4.0
- Added generators
- Optimized binary sizes by adding generators
- C++17 support & more compilers supported
- General compile time optimizations
- Compile time checks
- Added scoped output function varaints
0.3.0
- Added clang 10 - 13 support
- Fixed a clang edge case with a C style enum in global namespace with it's zero member having a single letter name
- Added support for MSVC 19.31 with
ENCHANTUM_ENABLE_MSVC_SPEEDUP(tested through godbolt) - BREAKING
- Removed
istream.hppandostream.hpp, replaced byiostream.hppandenchantum::iostream_operatorsnamespace.
- Removed
- Minor optimization for
to_string
0.2.0
-
Brings
type_nameandraw_type_nameinto public API (Thanks @Mishura4 for her suggestion) -
Big compile boost time for GCC,Clang and MSVC especially with larger ranges.
-
Add
scopedfunctions in namespacescopedthey output or check for the enum scope (e.gEnum::Valueforscoped::to_string)scoped::to_stringscoped::cast<E>scoped::to_string_bitflagscoped::cast_bitflag<E>scoped::containsscoped::contains_bitflag
-
Fix a bug with overriding
is_bitflagwhile not providing overloaded operators. -
Optimizations for contiguous bitflags,
castandcontainsfunctions forstd::string_viewoverloads.
0.1.0
- Added
enchantum::bitset - BREAKING All formatting operators and functions use
enchantum::to_string_bitflagif the enum is a bitflag and outputs the underlying type value if it does not corrospond to a valid enum name - Added cmake install
- Add
ENCHANTUM_CONFIG_FILEmacro include to be used.
0.0.2
Fixed bugs with cast_bitflag and to_string_bitflag.
Fixed clang 20 issues with Enums with no fixed underlying type.
Fixed 0 value not getting reflected in BitFlagEnums
Added options for controlling whether strings should be null terminated.
Moved some headers into main api like cast and removed cast.hpp
Version 0.0.1
Issues that will be fixed in next release but I wanted to get a release so people don't have to constantly redownload all the commits I make