Skip to content

refactor: cache return std::optional - #166

Merged
ColinKYuen merged 2 commits into
mainfrom
refactor/cache-optional
Oct 21, 2026
Merged

ColinKYuen merged 2 commits into
mainfrom
refactor/cache-optional

Conversation

@ColinKYuen

Copy link
Copy Markdown
Contributor

Summary

Caches return std::optional

Description

Changed caches to return with std::optional to differentiate between default constructed values and truly non-existent value

Testing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Comment thread driver/host_selector/round_robin_host_selector.cpp Outdated
Comment thread driver/host_selector/round_robin_host_selector.cpp Outdated
@ColinKYuen
ColinKYuen marked this pull request as ready for review October 21, 2026 01:40
@ColinKYuen
ColinKYuen merged commit 376eb14 into main Oct 21, 2026
59 of 86 checks passed
@ColinKYuen
ColinKYuen deleted the refactor/cache-optional branch October 21, 2026 22:28
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