STL icon indicating copy to clipboard operation
STL copied to clipboard

LWG-3454 `pointer_traits::pointer_to` should be `constexpr`

Open StephanTLavavej opened this issue 1 month ago • 1 comments

LWG-3454 pointer_traits::pointer_to should be constexpr

This was implemented, we just need to remove comments.

StephanTLavavej avatar Nov 13 '25 20:11 StephanTLavavej

I wanted to look into it, but it seems like the only related comment is here: https://github.com/microsoft/STL/blob/5459853bf78ceef1137d845bfeca98f658659691/stl/inc/xutility#L626-L629

Opening a PR just to remove // Per LWG-3454 is bananas... Am I missing sometihng? Possibly consider adding tests for the constexpr-ness, if they are not present yet?

vmichal avatar Nov 21 '25 23:11 vmichal

I think it's fine, we've had similar PRs in the past. It's slightly wasteful of machine time, of course.

StephanTLavavej avatar Nov 25 '25 15:11 StephanTLavavej