Skip to content

Remove comments after LWG-3454 "pointer_traits::pointer_to should be constexpr" was accepted - #5909

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
vmichal:pointer_traits-pointer_to-constexpr
Nov 27, 2025
Merged

Remove comments after LWG-3454 "pointer_traits::pointer_to should be constexpr" was accepted#5909
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
vmichal:pointer_traits-pointer_to-constexpr

Conversation

@vmichal

Copy link
Copy Markdown
Contributor

Only one reference was found and removed at

STL/stl/inc/xutility

Lines 626 to 629 in 5459853

_NODISCARD static _CONSTEXPR20 pointer pointer_to(_Reftype _Val)
noexcept(noexcept(_Ty::pointer_to(_Val))) /* strengthened */ { // Per LWG-3454
return _Ty::pointer_to(_Val);
}

Fixes #5864

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added documentation Related to documentation or comments LWG Library Working Group issue labels Nov 25, 2025
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) moved this from Initial Review to Ready To Merge in STL Code Reviews Nov 25, 2025
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) moved this from Ready To Merge to Merging in STL Code Reviews Nov 25, 2025
@StephanTLavavej

Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 5ee5b61 into microsoft:main Nov 27, 2025
44 checks passed
@github-project-automation github-project-automation Bot moved this from Merging to Done in STL Code Reviews Nov 27, 2025
@StephanTLavavej

Copy link
Copy Markdown
Member

💬 🗨️ 🤫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Related to documentation or comments LWG Library Working Group issue

2 participants