Skip to content

[hazelcast-cpp-client] boost 1.91 compatibility, update SHA512#51417

Merged
BillyONeal merged 2 commits into
microsoft:masterfrom
miyanyan:hazelcast
Apr 28, 2026
Merged

[hazelcast-cpp-client] boost 1.91 compatibility, update SHA512#51417
BillyONeal merged 2 commits into
microsoft:masterfrom
miyanyan:hazelcast

Conversation

@miyanyan
Copy link
Copy Markdown
Contributor

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

Boost 1.91.0 made the converting constructor of boost::optional from U&&
explicit in the new constexpr implementation path (union_optional.hpp).
This breaks copy-list-initialization like `return { it->second }`.

Fix by using direct-initialization `boost::optional<member>(it->second)`,
which works with both explicit and implicit constructors.
Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already submitted upstream as hazelcast/hazelcast-cpp-client#1441

Thanks for the fix!

@BillyONeal BillyONeal merged commit 77227d7 into microsoft:master Apr 28, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants