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

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.
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.

US 79-146 21.3.3 [meta.type.synop] Redundant construction in specification

3 participants