github stephenberry/glaze v5.7.0

latest releases: v9.1.0, v9.0.0, v8.4.0...
14 months ago

Better Support for Raw Pointer and Pure Reflection

  • Raw pointers now follow the skip_null_members option for reflected structs
  • Fixes a segfault for raw pointers with purely reflected structs (now skips or writes out null based on options)
  • Better support for pure reflection and raw pointers by @stephenberry in #1927

Improvements

  • New glz::has_reflect concept to check if glz::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

Full Changelog: v5.6.1...v5.7.0

Don't miss a new glaze release

NewReleases is sending notifications on new releases.