Skip to content

[2026-03 LWG Motion 22] P3450R1 Extend std::is_within_lifetime#8881

Open
eisenwave wants to merge 1 commit intocplusplus:mainfrom
eisenwave:motions-2026-03-lwg-22
Open

[2026-03 LWG Motion 22] P3450R1 Extend std::is_within_lifetime#8881
eisenwave wants to merge 1 commit intocplusplus:mainfrom
eisenwave:motions-2026-03-lwg-22

Conversation

@eisenwave
Copy link
Copy Markdown
Member

Fixes #8856
Fixes NB US 82-145 (C++26 CD).

Also fixes https://github.com/cplusplus/nbballot/issues/724

Fixes NB US 82-145 (C++26 CD).
\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;
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.

In the synopsis this is indented by 2 spaces after the template head (which seems consistent), here it's 4.

Is this purposefully overindented?

@eisenwave eisenwave changed the title P3450R1 Extend std::is_within_lifetime [2026-03 LWG Motion 22] P3450R1 Extend std::is_within_lifetime Mar 28, 2026
@eisenwave eisenwave added this to the post-2026-03 milestone Mar 28, 2026
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.

[2026-03 LWG Motion 22] P3450R1 Extend std::is_within_lifetime

2 participants