[IDX-7033] Remove boost::hana in favor of concepts#41
Open
dalloriam wants to merge 3 commits into
Open
Conversation
boost::hana in favor of concepts
There was a problem hiding this comment.
Pull request overview
This PR replaces Boost.Hana-based compile-time trait checks with C++ concepts and removes the now-unused Boost.Hana vcpkg dependency.
Changes:
- Removed
boost-hanafrom vcpkg feature dependencies. - Replaced Hana trait utilities with C++ concepts in
detail/traits.h. - Updated cache event-handler dispatch and
collect_intobranching to useif constexpr.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
vcpkg.json |
Removes the boost-hana dependency and reformats the manifest. |
include/cachemere/detail/traits.h |
Replaces Boost.Hana detection traits with C++ concepts. |
include/cachemere/cache.h |
Uses the new concepts for container collection and optional policy event callbacks. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
dalloriam
force-pushed
the
feature/IDX-7025-concepts
branch
2 times, most recently
from
May 21, 2026 15:05
dedc204 to
56b7e9c
Compare
dalloriam
marked this pull request as ready for review
May 21, 2026 15:29
boost::hana in favor of conceptsboost::hana in favor of concepts
dalloriam
force-pushed
the
feature/IDX-7025-performance-improvements
branch
from
May 26, 2026 17:28
91649b0 to
f0d0931
Compare
dalloriam
force-pushed
the
feature/IDX-7025-concepts
branch
from
May 27, 2026 12:47
56b7e9c to
3229d5b
Compare
bourque-julien
approved these changes
Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
boost::hanain favor of concepts now that we're > C++20