Skip to content

[utility.intcmp] Clarify the referenced type parameter#8770

Merged
jensmaurer merged 1 commit into
cplusplus:mainfrom
term-est:main
Mar 20, 2026
Merged

[utility.intcmp] Clarify the referenced type parameter#8770
jensmaurer merged 1 commit into
cplusplus:mainfrom
term-est:main

Conversation

@term-est

Copy link
Copy Markdown
Member

in_range is worded as:

template<class R, class T>
  constexpr bool in_range(T t) noexcept;

with the mandate Each of T and U is a signed or unsigned integer type
The referenced U in the mandate seems to be a copy-paste error from the above cmp_equal

in_range is worded as:

template<class R, class T>
  constexpr bool in_range(T t) noexcept;

The referenced U in the mandate seems to be a copy-paste error from the above `cmp_equal`
@eisenwave

Copy link
Copy Markdown
Member

Editorially broken recently in #8616.

@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Feb 25, 2026

@jensmaurer jensmaurer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Given #8616, this seems on the typo level.

@jensmaurer
jensmaurer merged commit 92b3a22 into cplusplus:main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1-Important Misapplication of paper, malformed code, internal inconsistencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants