Skip to content

🎨 Adjust type shrink/expand functions#330

Merged
elbeno merged 1 commit intointel:mainfrom
elbeno:shrink-expand-finesse
Feb 23, 2026
Merged

🎨 Adjust type shrink/expand functions#330
elbeno merged 1 commit intointel:mainfrom
elbeno:shrink-expand-finesse

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Feb 23, 2026

Problem:

  • Sometimes it would be more convenient to call shrink(x) or expand(y) with existing values rather than using e.g. shrink_t<std::remove_cvref_t<decltype(x)>> and the expand_t equivalent.

Solution:

  • Add appropriate shrink and expand functions.

@elbeno elbeno force-pushed the shrink-expand-finesse branch 2 times, most recently from ac610d7 to ee0ce93 Compare February 23, 2026 04:33
Problem:
- Sometimes it would be more convenient to call `shrink(x)` or `expand(y)` with
  existing values rather than using e.g.
  `shrink_t<std::remove_cvref_t<decltype(x)>>` and the `expand_t` equivalent.

Solution:
- Add appropriate `shrink` and `expand` functions.
@elbeno elbeno merged commit df5ae34 into intel:main Feb 23, 2026
94 of 96 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