github stephenberry/glaze v2.4.0
2.4.0

latest releases: v8.3.0, v8.2.0, v8.1.0...
2 years ago

Major Feature: Volatile Support

  • Glaze now supports volatile qualifiers. This was added for proper serialization/deserialization of hardware registers.
  • This volatile support includes glz::meta reflection and pure reflection.
  • glz::volatile_array has been added under glaze/hardware/volatile_array.hpp
    • glz::volatile_array has the same API as std::array, but uses volatile memory and provides volatile methods
  • JSON pointer syntax access also supports volatile.

When reading into arithmetic types, we parse into a temporary and then assign, this ensures that side affects from hardware looking at variables will not occur until the parse has completed and the assignment is made.

by @stephenberry in #885, #886, #890, #891

More New Features

Full Changelog: v2.3.3...v2.4.0

Don't miss a new glaze release

NewReleases is sending notifications on new releases.