Skip to content

Implement units::min_pref_max<T> - #89

Merged
saki7 merged 14 commits into
mainfrom
min-pref-max
Sep 18, 2026
Merged

saki7 merged 14 commits into
mainfrom
min-pref-max

Conversation

@saki7

@saki7 saki7 commented Sep 17, 2026

Copy link
Copy Markdown
Member

min_pref_max<T> is a class that contains three components T min, T pref, T max and has the invariant min <= pref <= max. This can be used for the base type of typesetting application; for instance a "margin" setting can be naturally expressed with the set of "min margin", "preferred margin", and "max margin".

@saki7 saki7 self-assigned this Sep 17, 2026
@saki7 saki7 added the enhancement New feature or request label Sep 17, 2026
@cppwarningnotifier

Copy link
Copy Markdown
EnvironmentC++23C++26
irisClang22Debug✅success✅success
Release✅success✅success
GCC15Debug✅success✅success
Release✅success✅success
MSVC2026Debug✅success✅success
Release✅success✅success

@saki7
saki7 marked this pull request as ready for review September 17, 2026 19:22
@saki7
saki7 merged commit 4df793a into main Sep 18, 2026
26 checks passed
@saki7
saki7 deleted the min-pref-max branch September 18, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant