[2026-03 LWG Motion 22] P3450R1 Extend std::is_within_lifetime#8881
Open
eisenwave wants to merge 1 commit intocplusplus:mainfrom
Open
[2026-03 LWG Motion 22] P3450R1 Extend std::is_within_lifetime#8881eisenwave wants to merge 1 commit intocplusplus:mainfrom
std::is_within_lifetime#8881eisenwave wants to merge 1 commit intocplusplus:mainfrom
Conversation
Fixes NB US 82-145 (C++26 CD).
Tsche
suggested changes
Mar 28, 2026
| \begin{itemdecl} | ||
| consteval bool is_within_lifetime(const auto* p) noexcept; | ||
| template<class U=void, class T> | ||
| consteval bool is_within_lifetime(const T* p) noexcept; |
Member
There was a problem hiding this comment.
In the synopsis this is indented by 2 spaces after the template head (which seems consistent), here it's 4.
Is this purposefully overindented?
std::is_within_lifetimestd::is_within_lifetime
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.
Fixes #8856
Fixes NB US 82-145 (C++26 CD).
Also fixes https://github.com/cplusplus/nbballot/issues/724