Minor Breaking Change
Moved glz::float_precision out of the default glz::opts fields. This change does not remove any functionality from Glaze.
The glz::float_precision enum is not widely used, but had the greatest impact on the length of the template parameter name printed by compilers when compile time errors occur. By moving this out of the default glz::opts we shorten compilation errors.
This change requires a user to add their own option type:
struct float_opts : glz::opts {
glz::float_precision float_max_write_precision{};
};- In #1713
- Forgive this being in a minor release (I had forgotten I made this change)
Improvements
- noexcept traits by @stephenberry in #1721
- Use cases like
glz::customnow work with member functions labeled noexcept
- Use cases like
- Relaxed
.as<T>conversion forglz::json_t(now supports Enums) in #1712 - glz::trace better input argument order and fix for async_scope in #1720
Full Changelog: v5.1.1...v5.1.2