Better Support for Raw Pointer and Pure Reflection
- Raw pointers now follow the
skip_null_membersoption for reflected structs - Fixes a segfault for raw pointers with purely reflected structs (now skips or writes out
nullbased on options) - Better support for pure reflection and raw pointers by @stephenberry in #1927
Improvements
- New
glz::has_reflectconcept to check ifglz::reflect<T>is applicable in #1929 - Variant tag validation for auto-deduced structs by @stephenberry in #1919
- Support for read_binary_untagged with static tags by @stephenberry in #1928
- Support for tagged variants with default case by @stephenberry in #1921
Glaze now supports a default/catch-all variant type by making the ids array shorter than the number of variant alternatives. The first unlabeled type (without a corresponding ID) becomes the default handler for unknown tags.
See Variant Handling for more documentation
Fixes
- Fix for partial_read when error_on_missing_keys is true by @stephenberry in #1922
Full Changelog: v5.6.1...v5.7.0