Skip to content

removing expand workaround#2431

Merged
lemire merged 2 commits intomasterfrom
remove_expand_workaround
Sep 3, 2025
Merged

removing expand workaround#2431
lemire merged 2 commits intomasterfrom
remove_expand_workaround

Conversation

@lemire
Copy link
Member

@lemire lemire commented Sep 2, 2025

Adopting the syntax...

template for (constexpr auto ... ) {

//...
}

Also moving consteval_to_quoted_escaped to its own file so that we can use it elsewhere (i.e. for enums) and thus make these functions slightly faster.

Note that we do not need to escape C++ identifiers, but we want to 'quote' them so that we don't need to mess around with quote charaters.

People like @FranciscoThiesen will understand.

Copy link
Member

@FranciscoThiesen FranciscoThiesen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you so much for removing the ugly expand syntax in favor of template for. It was really ugly to look at.

@lemire lemire merged commit e252a21 into master Sep 3, 2025
146 checks passed
@lemire lemire deleted the remove_expand_workaround branch September 3, 2025 17:30
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.

2 participants