Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRCI: cap P2996 build and test jobs at core count
The P2996 Reflection job has lost its runner after about 47 minutes on every run since it moved to ubuntu-24.04 in #3114 (main at 34e33590, #3115, #3116). It ran cmake --build build -j and ctest -j with no limit, so make started every…
Glaze#3117 · by stephenberry - Merged PRCI: test Clang 21-23, pin ubuntu-latest jobs, add Dependabot for Actions
clang-linux-latest now tests Clang 19 through 23 (apt.llvm.org), covering the latest three Clang releases while keeping 19 and 20. The five jobs still on ubuntu-latest (clang-format, clang-tidy, docs, p2996-reflection) are pinned to…
Glaze#3114 · by stephenberry - Merged PRReport malformed containers during lazy_json iteration
lazy_json iteration now reports a malformed container instead of ending quietly or reading on as if it were valid. A missing comma or colon, or a container that ends before its closing bracket, yields one error element (expected_comma,…
Glaze#3111 · by stephenberry - Merged PRInclude base class members under P2996 reflection
Under P2996, std::meta::nonstatic_data_members_of lists only the members a class declares itself, so Glaze dropped inherited members: struct D : B { int own = 2; } wrote {"own":2}. The docs and comments said base members were included.…
Glaze#3112 · by stephenberry - Merged PRDocument that custom opts must provide every glz::opts field
The note in opts.hpp said a custom options struct only needs format and internal, and docs/options.md said a custom struct can hold "only the options you need". In practice the built-in formats other than CSV read the glz::opts fields…
Glaze#3099 · by stephenberry - Merged PRDeprecate glz::raw_or_file
Deprecates glz::raw_or_file, to be removed in a future major version. Any string value that names an existing file is replaced by that file's contents. So whether a value stays a string depends on the filesystem at read time, and untrusted…
Glaze#3110 · by stephenberry - Merged PRFix int8_t/int16_t to_chars where int32_t is not int
Fixes #3107. Writing an int8_t or int16_t failed to compile on targets where int32_t is long rather than int (ESP32 xtensa/riscv32, ARM EABI). The magnitude expression in those overloads is promoted to int, and no to_chars overload accepts…
Glaze#3109 · by stephenberry - Merged PRFold "- " continuation lines into YAML plain scalars
A plain scalar whose continuation line starts with - was cut off at that line, and the rest of the document was dropped while the read still reported success: yaml name: foo bar x: 1 read as name: "foo" with x missing. It now reads name:…
Glaze#3108 · by stephenberry - Merged PRyaml: lay out glz::custom values by their getter's type
Fixes #3057. Supersedes #3062, building on the work and regression tests by @zhouyunding (co-author). The YAML writer has no indentation context inside serialize , so a glz::custom getter that returns an object or container must be…
Glaze#3088 · by stephenberry - Merged PRIsolate the YAML implicit-null literal from the document stream
An implicit null in a flow mapping ({a}, {a:}) read into a non-nullable value type is parsed from the static literal "null", but under the document's stream_begin and line memo. Line queries then walk back from the literal towards the…
Glaze#3082 · by stephenberry - Merged PRCI: replace apt-key with signed-by keyring; pin noble LLVM jobs to ubuntu-24.04
ubuntu-latest now resolves to Ubuntu 26.04, which no longer ships apt-key, so every clang install step using apt.llvm.org fails. Replace apt-key add with a keyring at /etc/apt/keyrings/llvm.gpg referenced via signed-by in all 9 workflows…
Glaze#3087 · by stephenberry - Merged PRmsgpack: read read_constraint, cast, as_array and manage members
MessagePack could not read a struct member wrapped in glz::read_constraint, glz::cast, glz::as_array or glz::manage: glz::read_msgpack failed to compile. MessagePack consumes each value's type tag before dispatching and passes it to the…
Glaze#3084 · by stephenberry - Merged PRFix count_members for non-default-initializable aggregates
Aggregates with a member that cannot be initialized from {} (e.g. no default constructor) were reported as having 0 members, because counting stopped at the first rejected initializer count. The accepted initializer counts form a…
Glaze#3060 · by stephenberry - Merged PRReflect local and anonymous-namespace types
Fixes #3040. Breaking: drops support for Clang 18 and earlier. Clang 19 is now the minimum. Clang 18 and earlier apply the C++20 rule that a constexpr destructor requires every subobject to have one, so fake_object_storage is not a literal…
Glaze#3056 · by stephenberry - Merged PRPreserve custom error message in lazy read_into
Fixes #3041. lazy_json_view::read_into() and lazy_beve_view::read_into() dropped ctx.custom_error_message when building the returned error_ctx, so messages set by custom readers never reached glz::format_error(). Both now forward the…
Glaze#3055 · by stephenberry