Skip to content

Conversation

jwakely
Copy link
Member

@jwakely jwakely commented Sep 9, 2025

The use of decltype(cw-fixed-value(X)) instead of just decltype(X) is a workaround for a GCC bug: https://gcc.gnu.org/PR117392

There's no need for the standard to specify it this way.

The typename is redundant too, but that's a separate topic.

Fixes cplusplus/nbballot#725

@jensmaurer jensmaurer added the ballot-comment Response to an NB or ISO comment on a ballot label Oct 8, 2025
@jensmaurer jensmaurer added this to the C++26 milestone Oct 8, 2025
@jwakely
Copy link
Member Author

jwakely commented Oct 17, 2025

I've re-pushed this with a commit message that matches the NB comment format.

@jensmaurer
Copy link
Member

jensmaurer commented Oct 17, 2025

Sorry, but you're confused about the commit message format.

We want the traditional subject line unmodified (label + short text), and in the body of the commit message, we want "Fixes NB US 79-146 (C++26 CD)".

See fb46e16 for an example.

@jwakely
Copy link
Member Author

jwakely commented Oct 17, 2025

I was going by what it says here:

https://github.com/cplusplus/draft/wiki/Commit-message-format#commits-from-committee-papers

I'll fix it tomorrow

@jensmaurer
Copy link
Member

jensmaurer commented Oct 18, 2025

Ah, we've never done it that way. I've fixed the wiki: https://github.com/cplusplus/draft/wiki/Commit-message-format#nb-comment-resolutions

Sorry for the confusion.

The use of `decltype(cw-fixed-value(X))` instead of just `decltype(X)`
is a workaround for a GCC bug: https://gcc.gnu.org/PR117392

There's no need for the standard to specify it this way.

Fixes NB US 79-146 (C++26 CD).
@jwakely
Copy link
Member Author

jwakely commented Oct 18, 2025

Should be fixed now.

Do we want the "Fixes cplusplus/nbballot/..." part in the pull request description, or do we not want the related nbballot issue to be auto-closed?

@jensmaurer
Copy link
Member

Auto-closing the nbballot issue is good; the "Fixes" establishes a link for later archeology.

@jensmaurer jensmaurer merged commit 8fc2944 into cplusplus:main Oct 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ballot-comment Response to an NB or ISO comment on a ballot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants