Skip to content

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

Open
term-est wants to merge 1 commit intocplusplus:mainfrom
term-est:main
Open

[utility.intcmp] Clarify the referenced type parameter#8770
term-est wants to merge 1 commit intocplusplus:mainfrom
term-est:main

Conversation

@term-est
Copy link
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
Member

Editorially broken recently in #8616.

@eisenwave eisenwave added the P1-Important Misapplication of paper, malformed code, internal inconsistencies label Feb 25, 2026
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.

2 participants